Click or drag to resize
AB4D logo

CadImporter Class

CadImporter can import objects from CAD files.
Inheritance Hierarchy
SystemObject
  Ab4d.OpenCascadeCadImporter

Namespace: Ab4d.OpenCascade
Assembly: Ab4d.OpenCascade (in Ab4d.OpenCascade.dll) Version: 1.0.0
Syntax
C#
public class CadImporter

The CadImporter type exposes the following members.

Constructors
 NameDescription
Public methodCadImporterInitializes a new instance of the CadImporter class
Top
Methods
 NameDescription
Public methodStatic memberActivate Activate must be called to activate the CadImporter. CadImporter can be used only when used with the Ab3d.DXEngine or Ab4d.SharpEngine libraries. When Ab4d.OpenCascade is used with Ab3d.DXEngine, the activationObject needs to be set to a DXScene (DXScene must be already initialized). When Ab4d.OpenCascade is used with Ab4d.SharpEngine, the activationObject needs to be set to a SceneView or a Scene (GpuDevice must be already initialized). If you want to use CadImporter without Ab3d.DXEngine or Ab4d.SharpEngine libraries, contact support.
Public methodImportStepFile ImportStepFile method reads the step file and returns CadAssembly.
Public methodInitialize Initialize can be called to set a custom ImporterSettings.
Top
Fields
 NameDescription
Public fieldStatic memberCadImporterVersion Gets the version of the data model that is returned by this CadImporter. When major or minor version is increased, then the data model changed. When only the build number is changed, then the data model is not changed.
Public fieldStatic memberOpenCascadeVersion Gets the version of the OpenCascade library that is required for this CadImporter to work.
Top
See Also