REFERENCE MANUAL
The ImportOptionsKit class is a user space object. More...
Public Member Functions | |
override void | Dispose () |
override bool | Empty () |
Indicates whether this ImportOptionsKit has any values set on it. More... | |
override bool | Equals (System.Object obj) |
bool | Equals (HPS.Parasolid.ImportOptionsKit in_kit) |
Check if the source ImportOptionsKit is equivalent to this ImportOptionsKit. More... | |
override int | GetHashCode () |
ImportOptionsKit () | |
The default constructor creates an empty ImportOptionsKit object. More... | |
ImportOptionsKit (HPS.Parasolid.ImportOptionsKit in_kit) | |
The copy constructor creates a new ImportOptionsKit object that contains the same settings as the source ImportOptionsKit. More... | |
override HPS.Type | ObjectType () |
This function returns the type the object, as declared. More... | |
void | Set (HPS.Parasolid.ImportOptionsKit in_kit) |
Copies the source ImportOptionsKit into this ImportOptionsKit. More... | |
HPS.Parasolid.ImportOptionsKit | SetAttributeMismatchBehavior (HPS.Parasolid.MismatchBehavior in_behavior) |
Sets the importer behavior for mismatched attributes. More... | |
HPS.Parasolid.ImportOptionsKit | SetCompoundBodyBehavior (HPS.Parasolid.CompoundBodyBehavior in_behavior) |
Sets the importer behavior for compound bodies. More... | |
HPS.Parasolid.ImportOptionsKit | SetFacetTessellation (HPS.Parasolid.FacetTessellationKit in_facet_tessellation_kit) |
Sets the facet tessellation settings used during import This corresponds to the PK_TOPOL_render_facet_o_t struct. More... | |
HPS.Parasolid.ImportOptionsKit | SetFormat (HPS.Parasolid.Format in_format) |
Sets the format type to be imported. More... | |
HPS.Parasolid.ImportOptionsKit | SetLineTessellation (HPS.Parasolid.LineTessellationKit in_line_tessellation_kit) |
Sets the line tessellation settings used during import This corresponds to the PK_TOPOL_render_line_o_t struct. More... | |
HPS.Parasolid.ImportOptionsKit | SetUserFields (bool in_import_user_fields) |
Sets whether to import user fields from the CAD file. More... | |
void | Show (out HPS.Parasolid.ImportOptionsKit out_kit) |
Copies this ImportOptionsKit into the given ImportOptionsKit. More... | |
bool | ShowAttributeMismatchBehavior (out HPS.Parasolid.MismatchBehavior out_behavior) |
Shows the attribute mismatch behavior import setting. More... | |
bool | ShowCompoundBodyBehavior (out HPS.Parasolid.CompoundBodyBehavior out_behavior) |
Shows the compound body behavior import setting. More... | |
bool | ShowFacetTessellation (out HPS.Parasolid.FacetTessellationKit out_facet_tessellation) |
Shows the facet tessellation import setting. More... | |
bool | ShowFormat (out HPS.Parasolid.Format out_format) |
Shows the format import setting. More... | |
bool | ShowLineTessellation (out HPS.Parasolid.LineTessellationKit out_line_tessellation) |
Shows the line tessellation import setting. More... | |
bool | ShowUserFields (out bool out_user_fields) |
Shows the user fields import setting. More... | |
HPS.Parasolid.ImportOptionsKit | UnsetAttributeMismatchBehavior () |
Removes the attribute mismatch behavior state. More... | |
HPS.Parasolid.ImportOptionsKit | UnsetCompoundBodyBehavior () |
Removes the compound body behavior state. More... | |
HPS.Parasolid.ImportOptionsKit | UnsetEverything () |
Removes all settings from this ImportOptionsKit. More... | |
HPS.Parasolid.ImportOptionsKit | UnsetFacetTessellation () |
Removes the facet tessellation state. More... | |
HPS.Parasolid.ImportOptionsKit | UnsetFormat () |
Removes the format import state. More... | |
HPS.Parasolid.ImportOptionsKit | UnsetLineTessellation () |
Removes the line tessellation state. More... | |
HPS.Parasolid.ImportOptionsKit | UnsetUserFields () |
Removes the user fields import state. More... | |
![]() | |
Sprocket (HPS.Sprocket in_that) | |
![]() | |
IntPtr | GetClassID () |
IntPtr | GetInstanceID () |
Returns an identifier that can be used to identify which instance of a class an object is. More... | |
bool | HasType (HPS.Type in_mask) |
This function indicates whether this Object has the given Type mask. More... | |
Object (HPS.Object in_that) | |
The move constructor creates an Object by transferring the underlying impl of the rvalue reference to this Object thereby avoiding a copy and allocation. More... | |
virtual void | Reset () |
Resets this object to its initial, uninitialized state. More... | |
HPS.Type | Type () |
This function returns the true type of the underlying object. More... | |
Static Public Member Functions | |
static HPS.Parasolid.ImportOptionsKit | GetDefault () |
Creates an ImportOptionsKit which contains the default settings. More... | |
static bool | operator!= (HPS.Parasolid.ImportOptionsKit a, HPS.Parasolid.ImportOptionsKit b) |
static bool | operator== (HPS.Parasolid.ImportOptionsKit a, HPS.Parasolid.ImportOptionsKit b) |
![]() | |
static IntPtr | ClassID< T > () |
Protected Member Functions | |
override void | deleteCptr () |
![]() | |
virtual IntPtr | GetNonDirectorClassID () |
Additional Inherited Members | |
![]() | |
enum | UpdateType { Synchronous = 0, Asynchronous = 1 } |
![]() | |
bool | cMemOwn |
HandleRef | cptr |
HandleRef | scptr |
The ImportOptionsKit class is a user space object.
It contains settings controlling what and how data is imported via the Parasolid interface. Calling Parasolid::ImportOptionsKit::GetDefault() will return an options kit with values found in here.
HPS.Parasolid.ImportOptionsKit.ImportOptionsKit | ( | ) |
The default constructor creates an empty ImportOptionsKit object.
HPS.Parasolid.ImportOptionsKit.ImportOptionsKit | ( | HPS.Parasolid.ImportOptionsKit | in_kit | ) |
The copy constructor creates a new ImportOptionsKit object that contains the same settings as the source ImportOptionsKit.
in_kit | The source <ref refid="class_h_p_s_1_1_parasolid_1_1_import_options_kit" kindref="compound">ImportOptionsKit</ref> to copy. |
|
virtual |
Indicates whether this ImportOptionsKit has any values set on it.
Reimplemented from HPS.Object.
bool HPS.Parasolid.ImportOptionsKit.Equals | ( | HPS.Parasolid.ImportOptionsKit | in_kit | ) |
Check if the source ImportOptionsKit is equivalent to this ImportOptionsKit.
in_kit | The source <ref refid="class_h_p_s_1_1_parasolid_1_1_import_options_kit" kindref="compound">ImportOptionsKit</ref> to compare to this <ref refid="class_h_p_s_1_1_parasolid_1_1_import_options_kit" kindref="compound">ImportOptionsKit</ref>. |
|
static |
Creates an ImportOptionsKit which contains the default settings.
The returned object will not necessarily have values set for every option, but it will have settings for those options where it is reasonable to have a default. These values will be used for import unless an option is overridden by the options passed to File::Import.
|
virtual |
This function returns the type the object, as declared.
This does not necessarily give the true type of the underlying object.
Reimplemented from HPS.Object.
void HPS.Parasolid.ImportOptionsKit.Set | ( | HPS.Parasolid.ImportOptionsKit | in_kit | ) |
Copies the source ImportOptionsKit into this ImportOptionsKit.
in_kit | The source <ref refid="class_h_p_s_1_1_parasolid_1_1_import_options_kit" kindref="compound">ImportOptionsKit</ref> to copy. |
HPS.Parasolid.ImportOptionsKit HPS.Parasolid.ImportOptionsKit.SetAttributeMismatchBehavior | ( | HPS.Parasolid.MismatchBehavior | in_behavior | ) |
Sets the importer behavior for mismatched attributes.
This corresponds to the value that will be passed to PK_PART_receive_o_t.attdef_mismatch.
in_behavior | The behavior of the importer when mismatched attributes are found. |
Default value
HPS.Parasolid.ImportOptionsKit HPS.Parasolid.ImportOptionsKit.SetCompoundBodyBehavior | ( | HPS.Parasolid.CompoundBodyBehavior | in_behavior | ) |
Sets the importer behavior for compound bodies.
This corresponds to the value that will be passed to PK_PART_receive_o_t.receive_compound.
in_behavior | The behavior of the importer when compound bodies are found. |
Default value
HPS.Parasolid.ImportOptionsKit HPS.Parasolid.ImportOptionsKit.SetFacetTessellation | ( | HPS.Parasolid.FacetTessellationKit | in_facet_tessellation_kit | ) |
Sets the facet tessellation settings used during import This corresponds to the PK_TOPOL_render_facet_o_t struct.
in_facet_tessellation_kit | The facet tessellation settings used during import |
HPS.Parasolid.ImportOptionsKit HPS.Parasolid.ImportOptionsKit.SetFormat | ( | HPS.Parasolid.Format | in_format | ) |
Sets the format type to be imported.
This corresponds to the value that will be passed to PK_PART_receive_o_t.transmit_format.
in_format | The format of the file to be imported. |
Default value
HPS.Parasolid.ImportOptionsKit HPS.Parasolid.ImportOptionsKit.SetLineTessellation | ( | HPS.Parasolid.LineTessellationKit | in_line_tessellation_kit | ) |
Sets the line tessellation settings used during import This corresponds to the PK_TOPOL_render_line_o_t struct.
HPS.Parasolid.ImportOptionsKit HPS.Parasolid.ImportOptionsKit.SetUserFields | ( | bool | in_import_user_fields | ) |
Sets whether to import user fields from the CAD file.
This corresponds to the value that will be passed to PK_PART_receive_o_t.receive_user_fields.
in_import_user_fields | Whether to import user fields from the CAD file. |
Default value
void HPS.Parasolid.ImportOptionsKit.Show | ( | out HPS.Parasolid.ImportOptionsKit | out_kit | ) |
Copies this ImportOptionsKit into the given ImportOptionsKit.
out_kit | The <ref refid="class_h_p_s_1_1_parasolid_1_1_import_options_kit" kindref="compound">ImportOptionsKit</ref> to populate with the contents of this <ref refid="class_h_p_s_1_1_parasolid_1_1_import_options_kit" kindref="compound">ImportOptionsKit</ref>. |
bool HPS.Parasolid.ImportOptionsKit.ShowAttributeMismatchBehavior | ( | out HPS.Parasolid.MismatchBehavior | out_behavior | ) |
Shows the attribute mismatch behavior import setting.
out_behavior | The attribute mismatch behavior setting for this import. |
bool HPS.Parasolid.ImportOptionsKit.ShowCompoundBodyBehavior | ( | out HPS.Parasolid.CompoundBodyBehavior | out_behavior | ) |
Shows the compound body behavior import setting.
out_behavior | The compound body behavior setting for this import. |
bool HPS.Parasolid.ImportOptionsKit.ShowFacetTessellation | ( | out HPS.Parasolid.FacetTessellationKit | out_facet_tessellation | ) |
Shows the facet tessellation import setting.
out_facet_tessellation | The facet tessellation setting for this import. |
bool HPS.Parasolid.ImportOptionsKit.ShowFormat | ( | out HPS.Parasolid.Format | out_format | ) |
Shows the format import setting.
out_format | The format setting for this import. |
bool HPS.Parasolid.ImportOptionsKit.ShowLineTessellation | ( | out HPS.Parasolid.LineTessellationKit | out_line_tessellation | ) |
Shows the line tessellation import setting.
out_line_tessellation | The line tessellation setting for this import. |
bool HPS.Parasolid.ImportOptionsKit.ShowUserFields | ( | out bool | out_user_fields | ) |
Shows the user fields import setting.
out_user_fields | The user fields setting for this import. |
HPS.Parasolid.ImportOptionsKit HPS.Parasolid.ImportOptionsKit.UnsetAttributeMismatchBehavior | ( | ) |
Removes the attribute mismatch behavior state.
HPS.Parasolid.ImportOptionsKit HPS.Parasolid.ImportOptionsKit.UnsetCompoundBodyBehavior | ( | ) |
Removes the compound body behavior state.
HPS.Parasolid.ImportOptionsKit HPS.Parasolid.ImportOptionsKit.UnsetEverything | ( | ) |
Removes all settings from this ImportOptionsKit.
HPS.Parasolid.ImportOptionsKit HPS.Parasolid.ImportOptionsKit.UnsetFacetTessellation | ( | ) |
Removes the facet tessellation state.
HPS.Parasolid.ImportOptionsKit HPS.Parasolid.ImportOptionsKit.UnsetFormat | ( | ) |
Removes the format import state.
HPS.Parasolid.ImportOptionsKit HPS.Parasolid.ImportOptionsKit.UnsetLineTessellation | ( | ) |
Removes the line tessellation state.
HPS.Parasolid.ImportOptionsKit HPS.Parasolid.ImportOptionsKit.UnsetUserFields | ( | ) |
Removes the user fields import state.