using System.Runtime.InteropServices;
namespace SolidWorks.Interop.sldworks
{
[Guid(“B90793FB-EF3D-4B80-A5C4-99959CDB6CEB”)]
[TypeLibType(TypeLibTypeFlags.FHidden | TypeLibTypeFlags.FDual | TypeLibTypeFlags.FDispatchable)]
public interface IModelDoc2
{
[DispId(65716)]
string get_LightSourceUserName(int ID);
[DispId(65716)]
void set_LightSourceUserName(int ID, string Retval);
[DispId(65717)]
dynamic get_LightSourcePropertyValues(int ID);
[DispId(65717)]
void set_LightSourcePropertyValues(int ID, object Retval);
[DispId(65540)]
void FeatureFillet(double R1, bool Propagate, bool Ftyp, bool VarRadTyp, int OverflowType);
[DispId(65541)]
void GridOptions(bool DispGrid, double GridSpacing, bool Snap, bool DotStyle, short NMajor, short NMinor, bool Align2edge, bool AngleSnap, double AngleUnit, bool MinorAuto);
[DispId(65542)]
void SetUnits(short UType, short FractBase, short FractDenom, short SigDigits, bool RoundToFraction);
[DispId(65543)]
void LBDownAt(int Flags, double X, double Y, double Z);
[DispId(65544)]
void LBUpAt(int Flags, double X, double Y, double Z);
[DispId(65545)]
void DragTo(int Flags, double X, double Y, double Z);
[DispId(65546)]
void SelectAt(int Flags, double X, double Y, double Z);
[DispId(65547)]
void CreateLineVB(double X1, double Y1, double Z1, double X2, double Y2, double Z2);
[DispId(65548)]
bool CreateLine(object P1, object P2);
[DispId(65549)]
void CreateCenterLineVB(double X1, double Y1, double Z1, double X2, double Y2, double Z2);
[DispId(65550)]
bool CreateCenterLine(object P1, object P2);
[DispId(65551)]
void CreateArcVB(double P1x, double P1y, double P1z, double P2x, double P2y, double P2z, double P3x, double P3y, double P3z, short Dir);
[DispId(65552)]
bool CreateArc(object P1, object P2, object P3, short Dir);
[DispId(65553)]
void CreateCircleVB(double P1x, double P1y, double P1z, double Radius);
[DispId(65554)]
bool CreateCircleByRadius(object P1, double Radius);
[DispId(65555)]
dynamic GetLines();
[DispId(65556)]
void SketchTrim(int Op, int SelEnd, double X, double Y);
[DispId(65557)]
void SketchOffsetEdges(double Val);
[DispId(65558)]
void SketchRectangle(double Val1, double Val2, double Z1, double Val3, double Val4, double Z2, bool Val5);
[DispId(65559)]
void SketchPoint(double X, double Y, double Z);
[DispId(65560)]
void FeatureCut(bool Sd, bool Flip, bool Dir, int T1, int T2, double D1, double D2, bool Dchk1, bool Dchk2, bool Ddir1, bool Ddir2, double Dang1, double Dang2, bool OffsetReverse1, bool OffsetReverse2);
[DispId(65561)]
void FeatureBoss(bool Sd, bool Flip, bool Dir, int T1, int T2, double D1, double D2, bool Dchk1, bool Dchk2, bool Ddir1, bool Ddir2, double Dang1, double Dang2, bool OffsetReverse1, bool OffsetReverse2);
[DispId(65562)]
void SimpleHole(bool Sd, bool Flip, bool Dir, int T1, int T2, double D1, double D2, bool Dchk1, bool Dchk2, bool Ddir1, bool Ddir2, double Dang1, double Dang2, bool OffsetReverse1, bool OffsetReverse2);
[DispId(65563)]
void FeatureLinearPattern(int Num1, double Spacing1, int Num2, double Spacing2, bool FlipDir1, bool FlipDir2, string DName1, string DName2);
[DispId(65564)]
void NameView(string VName);
[DispId(65565)]
void ShowNamedView(string VName);
[DispId(65566)]
void CreatePlaneAtOffset(double Val, bool FlipDir);
[DispId(65567)]
void Toolbars(bool M, bool Vw, bool SkMain, bool Sk, bool Feat, bool Constr, bool Macro);
[DispId(65568)]
void CreatePlaneAtAngle(double Val, bool FlipDir);
[DispId(65569)]
void SetParamValue(double Val);
[DispId(65570)]
void AddRelation(string RelStr);
[DispId(65571)]
void DeleteAllRelations();
[DispId(65572)]
void HoleWizard(double Depth, short EndType, bool Flip, bool Dir, int HType, double D1, double D2, double D3, double D4, double D5, double D6, double D7, double D8, double D9, double D10, double D11, double D12);
[DispId(65573)]
bool SaveAs(string NewName);
[DispId(65574)]
void ActivateSelectedFeature();
[DispId(65575)]
void SelectByName(int Flags, string IdStr);
[DispId(65576)]
void SketchAddConstraints(string IdStr);
[DispId(65577)]
void SketchConstraintsDel(int ConstrInd, string IdStr);
[DispId(65578)]
void SketchConstraintsDelAll();
[DispId(65579)]
void Lock();
[DispId(65580)]
void UnLock();
[DispId(65581)]
void InsertFeatureShell(double Thickness, bool Outward);
[DispId(65582)]
void SketchFillet(double Rad);
[DispId(65583)]
void FeatureChamfer(double Width, double Angle, bool Flip);
[DispId(65584)]
void InsertMfDraft(double Angle, bool FlipDir, bool IsEdgeDraft, int PropType);
[DispId(65585)]
void ParentChildRelationship();
[DispId(65586)]
void SketchSpline(int MorePts, double X, double Y, double Z);
[DispId(65587)]
void SelectSketchPoint(double X, double Y, int Incidence);
[DispId(65588)]
void SelectSketchLine(double X0, double Y0, int Inc0, double X1, double Y1, int Inc1);
[DispId(65589)]
void SelectSketchArc(double X0, double Y0, int Inc0, double X1, double Y1, int Inc1, double XC, double YC, int IncC, int RotDir);
[DispId(65590)]
void SelectSketchSpline(int Size, double X0, double Y0, int Inc0, double X1, double Y1, int Inc1, double XC, double YC, int IncC);
[DispId(65591)]
bool CreateTangentArc(double P1x, double P1y, double P1z, double P2x, double P2y, double P2z);
[DispId(65592)]
bool Create3PointArc(double P1x, double P1y, double P1z, double P2x, double P2y, double P2z, double P3x, double P3y, double P3z);
[DispId(65593)]
bool CreateArcByCenter(double P1x, double P1y, double P1z, double P2x, double P2y, double P2z, double P3x, double P3y, double P3z);
[DispId(65594)]
bool CreateCircle(double P1x, double P1y, double P1z, double P2x, double P2y, double P2z);
[DispId(65595)]
bool AddDimension(double X, double Y, double Z);
[DispId(65596)]
bool AddHorizontalDimension(double X, double Y, double Z);
[DispId(65597)]
bool AddVerticalDimension(double X, double Y, double Z);
[DispId(65598)]
bool SelectSketchItem(int SelOpt, string Name, double X, double Y, double Z);
[DispId(65599)]
void ClearSelection();
[DispId(65600)]
void Select(string SelID, string SelParams, double X, double Y, double Z);
[DispId(65601)]
void AndSelect(string SelID, string SelParams, double X, double Y, double Z);
[DispId(65602)]
bool CreatePoint(double PointX, double PointY, double PointZ);
[DispId(65603)]
bool CreateLineDB(double Sx, double Sy, double Sz, double Ex, double Ey, double Ez);
[DispId(65604)]
bool CreateArcDB(double X1, double Y1, double Z1, double X2, double Y2, double Z2, double X3, double Y3, double Z3, short Dir);
[DispId(65605)]
bool CreateCircleDB(double Cx, double Cy, double Cz, double Radius);
[DispId(65606)]
bool CreatePointDB(double X, double Y, double Z);
[DispId(65607)]
string GetTitle();
[DispId(65608)]
string GetPathName();
[DispId(65609)]
int GetType();
[DispId(65610)]
void InsertObject();
[DispId(65611)]
void EditClearAll();
[DispId(65612)]
void EditCopy();
[DispId(65613)]
void EditCut();
[DispId(65614)]
void ObjectDisplayContent();
[DispId(65615)]
void ObjectDisplayAsIcon();
[DispId(65616)]
void ObjectResetsize();
[DispId(65617)]
void WindowRedraw();
[DispId(65618)]
[TypeLibFunc(TypeLibFuncFlags.FHidden)]
void Dummy3();
[DispId(65619)]
void SetPickMode();
[DispId(65620)]
void ViewRotateminusx();
[DispId(65621)]
void ViewRotateminusy();
[DispId(65622)]
void ViewRotateminusz();
[DispId(65623)]
void ViewRotateplusx();
[DispId(65624)]
void ViewRotateplusy();
[DispId(65625)]
void ViewRotateplusz();
[DispId(65626)]
void ViewTranslateminusx();
[DispId(65627)]
void ViewTranslateminusy();
[DispId(65628)]
void ViewTranslateplusx();
[DispId(65629)]
void ViewTranslateplusy();
[DispId(65630)]
void ViewRotXMinusNinety();
[DispId(65631)]
void ViewRotYMinusNinety();
[DispId(65632)]
void ViewRotYPlusNinety();
[DispId(65633)]
void ViewZoomin();
[DispId(65634)]
void ViewZoomout();
[DispId(65635)]
void ViewDisplayHiddenremoved();
[DispId(65636)]
void ViewDisplayWireframe();
[DispId(65637)]
void ViewDisplayShaded();
[DispId(65638)]
void ViewRwShading();
[DispId(65639)]
void ViewOglShading();
[DispId(65640)]
void ViewZoomtofit();
[DispId(65641)]
void ViewRotate();
[DispId(65642)]
void ViewTranslate();
[DispId(65643)]
void ViewZoomto();
[DispId(65644)]
void ViewDisplayHiddengreyed();
[DispId(65645)]
void ViewDisplayFaceted();
[DispId(65646)]
void ViewConstraint();
[DispId(65647)]
void UserFavors();
[DispId(65648)]
void FeatureCirPattern(int Num, double Spacing, bool FlipDir, string DName);
[DispId(65649)]
void EditSketch();
[DispId(65650)]
void FeatEdit();
[DispId(65651)]
void FeatEditDef();
[DispId(65652)]
void InsertPoint();
[DispId(65653)]
void InsertFamilyTableNew();
[DispId(65654)]
[TypeLibFunc(TypeLibFuncFlags.FHidden)]
void Dummy1();
[DispId(65655)]
void InsertFamilyTableEdit();
[DispId(65656)]
[TypeLibFunc(TypeLibFuncFlags.FHidden)]
void Dummy2();
[DispId(65657)]
void ToolsMacro();
[DispId(65658)]
void ToolsGrid();
[DispId(65659)]
void SketchCenterline();
[DispId(65660)]
void SketchAlign();
[DispId(65661)]
void SketchArc();
[DispId(65662)]
void SketchTangentArc();
[DispId(65663)]
void SketchCircle();
[DispId(65664)]
void SketchUndo();
[DispId(65665)]
void UserPreferences();
[DispId(65666)]
void Lights();
[DispId(65667)]
void SketchConstrainCoincident();
[DispId(65668)]
void SketchConstrainConcentric();
[DispId(65669)]
void SketchConstrainPerp();
[DispId(65670)]
void SketchConstrainTangent();
[DispId(65671)]
void SketchConstrainParallel();
[DispId(65672)]
void SketchUseEdge();
[DispId(65673)]
void SketchUseEdgeCtrline();
[DispId(65674)]
void SketchMirror();
[DispId(65675)]
void Save();
[DispId(65676)]
void Close();
[DispId(65677)]
void ViewDispRefaxes();
[DispId(65678)]
void ViewDispRefplanes();
[DispId(65679)]
void InsertSketch();
[DispId(65680)]
void InsertProtrusionSwept(bool Propagate, bool Alignment, bool KeepNormalConstant);
[DispId(65681)]
void InsertProtrusionBlend(bool Closed);
[DispId(65682)]
void ToolsMassProps();
[DispId(65683)]
void PropertySheet();
[DispId(65684)]
void BlankRefGeom();
[DispId(65685)]
void UnBlankRefGeom();
[DispId(65686)]
void EditDelete();
[DispId(65687)]
void InsertProjectedSketch();
[DispId(65688)]
bool CreatePlaneFixed(object P1, object P2, object P3, bool UseGlobal);
[DispId(65689)]
[TypeLibFunc(TypeLibFuncFlags.FHidden)]
void Dummy5();
[DispId(65690)]
[TypeLibFunc(TypeLibFuncFlags.FHidden)]
void Dummy6();
[DispId(65691)]
void DebugCheckBody();
[DispId(65692)]
[TypeLibFunc(TypeLibFuncFlags.FHidden)]
void Dummy8();
[DispId(65693)]
void DimPreferences();
[DispId(65694)]
void UnblankSketch();
[DispId(65695)]
void EditSketchOrSingleSketchFeature();
[DispId(65696)]
void DebugCheckIgesGeom();
[DispId(65697)]
void BlankSketch();
[DispId(65698)]
double GetDefaultTextHeight();
[DispId(65699)]
bool IsActive(string CompStr);
[DispId(65700)]
bool CreateEllipse(object Center, object Major, object Minor);
[DispId(65701)]
bool CreateEllipseVB(double CenterX, double CenterY, double CenterZ, double MajorX, double MajorY, double MajorZ, double MinorX, double MinorY, double MinorZ);
[DispId(65702)]
bool CreateEllipticalArcByCenter(object Center, object Major, object Minor, object Start, object End);
[DispId(65703)]
bool CreateEllipticalArcByCenterVB(double CenterX, double CenterY, double CenterZ, double MajorX, double MajorY, double MajorZ, double MinorX, double MinorY, double MinorZ, double StartX, double StartY, double StartZ, double EndX, double EndY, double EndZ);
[DispId(65704)]
dynamic GetActiveSketch();
[DispId(65713)]
Sketch IGetActiveSketch();
[DispId(65705)]
int GetTessellationQuality();
[DispId(65706)]
void SetTessellationQuality(int QualityNum);
[DispId(65707)]
dynamic Parameter(string StringIn);
[DispId(65714)]
Dimension IParameter(string StringIn);
[DispId(65708)]
bool SelectByID(string SelID, string SelParams, double X, double Y, double Z);
[DispId(65709)]
bool AndSelectByID(string SelID, string SelParams, double X, double Y, double Z);
[DispId(65710)]
void Insert3DSketch();
[DispId(65715)]
string GetLightSourceName(int ID);
[DispId(65720)]
bool AddLightSource(string IdName, int LTyp, string UserName);
[DispId(65721)]
int AddLightSourceExtProperty(int ID, object PropertyExtension);
[DispId(65722)]
void ResetLightSourceExtProperty(int ID);
[DispId(65723)]
void DeleteLightSource(int ID);
[DispId(65724)]
dynamic GetLightSourceExtProperty(int ID, int PropertyId);
[DispId(65725)]
int AddLightToScene(string LpszNewValue);
[DispId(65726)]
int AddSceneExtProperty(object PropertyExtension);
[DispId(65727)]
void ResetSceneExtProperty();
[DispId(65728)]
dynamic GetSceneExtProperty(int PropertyId);
[DispId(65729)]
void FileSummaryInfo();
[DispId(65730)