ObjectTypeSelector Class¶
-
class
NXOpen.
ObjectTypeSelector
¶ Bases:
NXOpen.Builder
Represents a
NXOpen.ObjectTypeSelector
to be used when filter out the objects based on the type during import/export.This can be curves, solids,etc.This class is created using
NXOpen.DexManager
. Creator not available in KF.New in version NX5.0.0.
Properties¶
Property | Description |
---|---|
Annotations | Returns or sets the annotations - This should be set to true if annotations are desired in the output file |
Csys | Returns or sets the csys - This should be set to true if coordinate systems are desired in the output file |
Curves | Returns or sets the curves - This should be set to true if curves are desired in the output file |
PmiData | Returns or sets the pmi data - This should be set to true if pmi data are desired in the output file |
ProductData | Returns or sets the product data - This should be set to true if product data are desired in the output file |
Solids | Returns or sets the solids - This should be set to true if solids are desired in the output file |
Structures | Returns or sets the structures - This should be set to true if structures are desired in the output file |
Surfaces | Returns or sets the surfaces - This should be set to true if surfaces are desired in the output file |
Tag | Returns the Tag for this object. |
Tessellation | Returns or sets the Tessellation - This should be set to true if Tessellation information is to be written to STEP file |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
Destroy | Deletes the builder, and cleans up any objects created by the builder. |
GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
GetObject | Returns the object currently being edited by this builder. |
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
Annotations¶
-
ObjectTypeSelector.
Annotations
¶ Returns or sets the annotations - This should be set to true if annotations are desired in the output file
-------------------------------------
Getter Method
Signature
Annotations
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Annotations
Parameters: annotations (bool) – New in version NX5.0.0.
License requirements: None.
Csys¶
-
ObjectTypeSelector.
Csys
¶ Returns or sets the csys - This should be set to true if coordinate systems are desired in the output file
-------------------------------------
Getter Method
Signature
Csys
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Csys
Parameters: csys (bool) – New in version NX5.0.0.
License requirements: None.
Curves¶
-
ObjectTypeSelector.
Curves
¶ Returns or sets the curves - This should be set to true if curves are desired in the output file
-------------------------------------
Getter Method
Signature
Curves
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Curves
Parameters: curves (bool) – New in version NX5.0.0.
License requirements: None.
PmiData¶
-
ObjectTypeSelector.
PmiData
¶ Returns or sets the pmi data - This should be set to true if pmi data are desired in the output file
-------------------------------------
Getter Method
Signature
PmiData
Returns: Return type: bool New in version NX8.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PmiData
Parameters: pmiData (bool) – New in version NX8.0.0.
License requirements: None.
ProductData¶
-
ObjectTypeSelector.
ProductData
¶ Returns or sets the product data - This should be set to true if product data are desired in the output file
-------------------------------------
Getter Method
Signature
ProductData
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ProductData
Parameters: productData (bool) – New in version NX5.0.0.
License requirements: None.
Solids¶
-
ObjectTypeSelector.
Solids
¶ Returns or sets the solids - This should be set to true if solids are desired in the output file
-------------------------------------
Getter Method
Signature
Solids
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Solids
Parameters: solids (bool) – New in version NX5.0.0.
License requirements: None.
Structures¶
-
ObjectTypeSelector.
Structures
¶ Returns or sets the structures - This should be set to true if structures are desired in the output file
-------------------------------------
Getter Method
Signature
Structures
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Structures
Parameters: structures (bool) – New in version NX5.0.0.
License requirements: None.
Surfaces¶
-
ObjectTypeSelector.
Surfaces
¶ Returns or sets the surfaces - This should be set to true if surfaces are desired in the output file
-------------------------------------
Getter Method
Signature
Surfaces
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Surfaces
Parameters: surfaces (bool) – New in version NX5.0.0.
License requirements: None.
Tessellation¶
-
ObjectTypeSelector.
Tessellation
¶ Returns or sets the Tessellation - This should be set to true if Tessellation information is to be written to STEP file
-------------------------------------
Getter Method
Signature
Tessellation
Returns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Tessellation
Parameters: tessellation (bool) – New in version NX11.0.0.
License requirements: None.
Method Detail¶
Validate¶
-
ObjectTypeSelector.
Validate
¶ Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.
Signature
Validate()
Returns: Was self validation successful Return type: bool New in version NX3.0.1.
License requirements: None.