HPS.DWG.Factory
- class HPS.DWG.Factory : public HPS.Sprocket
The Factory class is used to create and DWG objects which inherit from HPS.Component or one of its subclasses.
Public Static Functions
- HPS.DWG.CADModel CreateCADModel ()
Creates a new DWG.CADModel.
- HPS.DWG.CADModel CreateCADModel (HPS.Model in_model)
Creates a new DWG.CADModel.
- Param in_model
The Model associated with the newly created DWG.CADModel.
- HPS.DWG.Component CreateComponent (HPS.Component in_owner, HPS.Component.ComponentType in_type)
Creates a new DWG.Component as a subcomponent of a given Component.
- Param in_owner
The HPS.Component which owns the newly created DWG.Component.
- Param in_type
The type of DWG.Component to create.
- HPS.DWG.Component CreateComponent (HPS.Component in_owner, HPS.Component.ComponentType in_type, IntPtr in_object_id)
Creates a new DWG.Component as a subcomponent of a given Component.
- Param in_owner
The HPS.Component which owns the newly created DWG.Component.
- Param in_type
The type of DWG.Component to create.
- HPS.DWG.Layer CreateLayer (HPS.Component in_owner)
Creates a new DWG.Layer as a subcomponent of a given Component.
- Param in_owner
The HPS.Component which owns the newly created DWG.Layer.
- HPS.DWG.Layer CreateLayer (HPS.Component in_owner, IntPtr in_object_id)
Creates a new DWG.Layer as a subcomponent of a given Component.
- Param in_owner
The HPS.Component which owns the newly created DWG.Layer.
- HPS.DWG.Layout CreateLayout (HPS.Component in_owner, HPS.Component.ComponentType in_type)
Creates a new DWG.Layout as a subcomponent of a given Component.
- Param in_owner
The HPS.Component which owns the newly created DWG.Component.
- Param in_type
The type of DWG.Component to create.
- HPS.DWG.Layout CreateLayout (HPS.Component in_owner, HPS.Component.ComponentType in_type, IntPtr in_object_id)
Creates a new DWG.Layout as a subcomponent of a given Component.
- Param in_owner
The HPS.Component which owns the newly created DWG.Component.
- Param in_type
The type of DWG.Component to create.