Пример #1
0
 public static void SetLineWidth(IPartDocObject IPartDocinstance, Int32 Width)
 {
     IPartDocinstance.IPartDocInstance.SetLineWidth(Width);
 }
Пример #2
0
 public static IFeatureObject IFeatureByName(IPartDocObject IPartDocinstance, String Name)
 {
     return(new IFeatureObject(IPartDocinstance.IPartDocInstance.IFeatureByName(Name)));
 }
Пример #3
0
 public static IFeatureObject ICreateFeatureFromBody2(IPartDocObject IPartDocinstance, IBodyObject Body, Boolean MakeRefSurface)
 {
     return(new IFeatureObject(IPartDocinstance.IPartDocInstance.ICreateFeatureFromBody2(Body?.IBodyInstance?.CastObj <Body>(), MakeRefSurface)));
 }
Пример #4
0
 //public static Boolean SaveToFile3(IPartDocObject IPartDocinstance, String Name, Int32 Options, Int32 CutListProps, Boolean OverrideTemplate, String TemplatePath, Int32& Errors, Int32& Warnings)
 //{
 //    return IPartDocinstance.IPartDocInstance.SaveToFile3(Name, Options, CutListProps, OverrideTemplate, TemplatePath, Errors, Warnings);
 //}
 public static void SetFaceMap(IPartDocObject IPartDocinstance, Int32 NumOfMatchingFaces, Object FaceList1, Object FaceList2, Object OriginalPart)
 {
     IPartDocinstance.IPartDocInstance.SetFaceMap(NumOfMatchingFaces, FaceList1, FaceList2, OriginalPart);
 }
Пример #5
0
 public static IFeatureObject IFirstFeature(IPartDocObject IPartDocinstance)
 {
     return(new IFeatureObject(IPartDocinstance.IPartDocInstance.IFirstFeature()));
 }
Пример #6
0
 public static Boolean SetDroppedFileName(IPartDocObject IPartDocinstance, String FileName)
 {
     return(IPartDocinstance.IPartDocInstance.SetDroppedFileName(FileName));
 }
Пример #7
0
 public static Object CreateFeatureFromBody2(IPartDocObject IPartDocinstance, Object Body, Boolean MakeRefSurface)
 {
     return(IPartDocinstance.IPartDocInstance.CreateFeatureFromBody2(Body, MakeRefSurface));
 }
Пример #8
0
 public static Object GetCorresponding(IPartDocObject IPartDocinstance, Object InputObject)
 {
     return(IPartDocinstance.IPartDocInstance.GetCorresponding(InputObject));
 }
Пример #9
0
 public static void ImportDiagnosisGapCloser(IPartDocObject IPartDocinstance, Double OldX, Double OldY, Double OldZ, Double NewX, Double NewY, Double NewZ, Boolean LastMove)
 {
     IPartDocinstance.IPartDocInstance.ImportDiagnosisGapCloser(OldX, OldY, OldZ, NewX, NewY, NewZ, LastMove);
 }
Пример #10
0
 public static void SaveToFile(IPartDocObject IPartDocinstance)
 {
     IPartDocinstance.IPartDocInstance.SaveToFile();
 }
Пример #11
0
 //public static Boolean SaveToFile2(IPartDocObject IPartDocinstance, String Name, Int32 Options, Int32& Errors, Int32& Warnings)
 //{
 //    return IPartDocinstance.IPartDocInstance.SaveToFile2(Name, Options, Errors, Warnings);
 //}
 //public static String GetMaterialPropertyName2(IPartDocObject IPartDocinstance, String ConfigName, String& Database)
 //{
 //    return IPartDocinstance.IPartDocInstance.GetMaterialPropertyName2(ConfigName, Database);
 //}
 public static void SetMaterialPropertyName2(IPartDocObject IPartDocinstance, String ConfigName, String Database, String Name)
 {
     IPartDocinstance.IPartDocInstance.SetMaterialPropertyName2(ConfigName, Database, Name);
 }
Пример #12
0
 public static IFeatureObject InsertPart(IPartDocObject IPartDocinstance, String FileName, Boolean ImportPlane, Boolean ImportAxis, Boolean ImportCThread)
 {
     return(new IFeatureObject(IPartDocinstance.IPartDocInstance.InsertPart(FileName, ImportPlane, ImportAxis, ImportCThread)));
 }
Пример #13
0
 public static Object CreateFeatureFromBody(IPartDocObject IPartDocinstance, Object Body)
 {
     return(IPartDocinstance.IPartDocInstance.CreateFeatureFromBody(Body));
 }
Пример #14
0
 public static void SetLineColor(IPartDocObject IPartDocinstance, Int32 Color)
 {
     IPartDocinstance.IPartDocInstance.SetLineColor(Color);
 }
Пример #15
0
 public static Boolean IsMirrored(IPartDocObject IPartDocinstance)
 {
     return(IPartDocinstance.IPartDocInstance.IsMirrored());
 }
Пример #16
0
 public static Boolean IsWeldment(IPartDocObject IPartDocinstance)
 {
     return(IPartDocinstance.IPartDocInstance.IsWeldment());
 }
Пример #17
0
 public static void SetCosmosWorksMaterial(IPartDocObject IPartDocinstance, String ConfigName, Int32 Type)
 {
     IPartDocinstance.IPartDocInstance.SetCosmosWorksMaterial(ConfigName, Type);
 }
Пример #18
0
 public static IMaterialVisualPropertiesDataObject GetMaterialVisualProperties(IPartDocObject IPartDocinstance)
 {
     return(new IMaterialVisualPropertiesDataObject(IPartDocinstance.IPartDocInstance.GetMaterialVisualProperties()));
 }
Пример #19
0
 public static Boolean RemoveAllDisplayStates(IPartDocObject IPartDocinstance)
 {
     return(IPartDocinstance.IPartDocInstance.RemoveAllDisplayStates());
 }
Пример #20
0
 public static IFeatureObject ICreateFeatureFromBody(IPartDocObject IPartDocinstance, IBodyObject Body)
 {
     return(new IFeatureObject(IPartDocinstance.IPartDocInstance.ICreateFeatureFromBody(Body?.IBodyInstance.CastObj <Body>())));
 }
Пример #21
0
 //public static IFeatureObject MirrorPart2(IPartDocObject IPartDocinstance, Boolean BreakLink, Int32 Options, ModelDoc2&Object ResultPart)
 //{
 //    return new IFeatureObject(IPartDocinstance.IPartDocInstance.MirrorPart2(BreakLink, Options, ResultPart));
 //}
 //public static Boolean IExportToDWG2(IPartDocObject IPartDocinstance, String FilePath, String ModelName, Int32 Action, Boolean ExportToSingleFile, Double& Alignment, Boolean IsXDirFlipped, Boolean IsYDirFlipped, Int32 SheetMetalOptions, Int32 ViewsCount, String& Views)
 //{
 //    return IPartDocinstance.IPartDocInstance.IExportToDWG2(FilePath, ModelName, Action, ExportToSingleFile, Alignment, IsXDirFlipped, IsYDirFlipped, SheetMetalOptions, ViewsCount, Views);
 //}
 public static Boolean ExportToDWG2(IPartDocObject IPartDocinstance, String FilePath, String ModelName, Int32 Action, Boolean ExportToSingleFile, Object Alignment, Boolean IsXDirFlipped, Boolean IsYDirFlipped, Int32 SheetMetalOptions, Object Views)
 {
     return(IPartDocinstance.IPartDocInstance.ExportToDWG2(FilePath, ModelName, Action, ExportToSingleFile, Alignment, IsXDirFlipped, IsYDirFlipped, SheetMetalOptions, Views));
 }
Пример #22
0
 public static Int32 SetMaterialVisualProperties(IPartDocObject IPartDocinstance, IMaterialVisualPropertiesDataObject Properties, Int32 ConfigOption, Object ConfigNames)
 {
     return(IPartDocinstance.IPartDocInstance.SetMaterialVisualProperties(Properties.IMaterialVisualPropertiesDataInstance.CastObj <MaterialVisualPropertiesData>(), ConfigOption, ConfigNames));
 }
Пример #23
0
 public static Object FirstFeature(IPartDocObject IPartDocinstance)
 {
     return(IPartDocinstance.IPartDocInstance.FirstFeature());
 }
Пример #24
0
 public static void FeatureXpert(IPartDocObject IPartDocinstance)
 {
     IPartDocinstance.IPartDocInstance.FeatureXpert();
 }
Пример #25
0
 public static Object FeatureByName(IPartDocObject IPartDocinstance, String Name)
 {
     return(IPartDocinstance.IPartDocInstance.FeatureByName(Name));
 }
Пример #26
0
 public static IFeatureObject InsertPart2(IPartDocObject IPartDocinstance, String FileName, Int32 Options)
 {
     return(new IFeatureObject(IPartDocinstance.IPartDocInstance.InsertPart2(FileName, Options)));
 }
Пример #27
0
 public static Object FeatureById(IPartDocObject IPartDocinstance, Int32 ID)
 {
     return(IPartDocinstance.IPartDocInstance.FeatureById(ID));
 }
Пример #28
0
 public static Boolean ExportFlatPatternView(IPartDocObject IPartDocinstance, String FilePath, Int32 Options)
 {
     return(IPartDocinstance.IPartDocInstance.ExportFlatPatternView(FilePath, Options));
 }
Пример #29
0
 public static IFeatureObject IFeatureById(IPartDocObject IPartDocinstance, Int32 ID)
 {
     return(new IFeatureObject(IPartDocinstance.IPartDocInstance.IFeatureById(ID)));
 }
Пример #30
0
 public static void SetLineStyle(IPartDocObject IPartDocinstance, String StyleName)
 {
     IPartDocinstance.IPartDocInstance.SetLineStyle(StyleName);
 }