Class GeometryImporterHelper
Inheritance
GeometryImporterHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class GeometryImporterHelper
Methods
GeometryModel(ComWrapper<ICAMAPIGeometryImporter>)
Geometry model where file will be imported
Declaration
public static ComWrapper<ICAMAPIGeometryModel> GeometryModel(this ComWrapper<ICAMAPIGeometryImporter> importerCom)
Parameters
Returns
ImportFile(ComWrapper<ICAMAPIGeometryImporter>, string, string, bool)
Imports specified GeomFilePath file to the TargetFolder folder.
If ShowDialog is true, the import file window will appear.
When TargetFolder is empty, it imports to the current folder.
Declaration
[Obsolete("Use ImportFileAsNode, it returns the imported node")]
public static void ImportFile(this ComWrapper<ICAMAPIGeometryImporter> importerCom, string geomFilePath, string targetFolder, bool showDialog)
Parameters
ImportFileAsNode(ComWrapper<ICAMAPIGeometryImporter>, string, string, bool)
Imports specified GeomFilePath file to the TargetFolder folder and returns the node of the imported file.
When TargetFolder is empty, it imports to the current folder.
If ShowDialog is true, the import file window will appear.
Declaration
public static ComWrapper<ICAMAPIGeometryTreeNode> ImportFileAsNode(this ComWrapper<ICAMAPIGeometryImporter> importerCom, string geomFilePath, string targetFolder, bool showDialog)
Parameters
Returns
SetGeometryModel(ComWrapper<ICAMAPIGeometryImporter>, ComWrapper<ICAMAPIGeometryModel>)
Set geometry model where file will be imported
Declaration
public static void SetGeometryModel(this ComWrapper<ICAMAPIGeometryImporter> importerCom, ComWrapper<ICAMAPIGeometryModel> value)
Parameters