PasteSpecialBuilder Class¶
-
class
NXOpen.
PasteSpecialBuilder
¶ Bases:
NXOpen.Builder
Represents a
NXOpen.PasteSpecialBuilder
To create a new instance of this class, use
NXOpen.ClipboardOperationsManager.CreatePasteSpecialBuilder()
Default values.
Property Value DestinationOpt Csys LayerOpt Work New in version NX5.0.0.
Properties¶
Property | Description |
---|---|
Csys | Returns or sets the destination coordinate system |
DestinationOpt | Returns or sets the destination coordinate system option |
LayerNumber | Returns or sets the layer number |
LayerOpt | Returns or sets the layer option |
Tag | Returns the Tag for this object. |
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. |
Enumerations¶
PasteSpecialBuilderDestinationOption Enumeration | This enum represents the paste ppecial destination coordinate system options |
PasteSpecialBuilderLayerOption Enumeration | This enum represents the paste special layer options |
Property Detail¶
Csys¶
-
PasteSpecialBuilder.
Csys
¶ Returns or sets the destination coordinate system
-------------------------------------
Getter Method
Signature
Csys
Returns: Return type: NXOpen.CoordinateSystem
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Csys
Parameters: csys ( NXOpen.CoordinateSystem
) –New in version NX5.0.0.
License requirements: None.
DestinationOpt¶
-
PasteSpecialBuilder.
DestinationOpt
¶ Returns or sets the destination coordinate system option
-------------------------------------
Getter Method
Signature
DestinationOpt
Returns: Return type: NXOpen.PasteSpecialBuilderDestinationOption
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DestinationOpt
Parameters: destinationOpt ( NXOpen.PasteSpecialBuilderDestinationOption
) –New in version NX5.0.0.
License requirements: None.
LayerNumber¶
-
PasteSpecialBuilder.
LayerNumber
¶ Returns or sets the layer number
-------------------------------------
Getter Method
Signature
LayerNumber
Returns: Return type: int New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
LayerNumber
Parameters: layerNumber (int) – New in version NX5.0.0.
License requirements: None.
LayerOpt¶
-
PasteSpecialBuilder.
LayerOpt
¶ Returns or sets the layer option
-------------------------------------
Getter Method
Signature
LayerOpt
Returns: Return type: NXOpen.PasteSpecialBuilderLayerOption
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
LayerOpt
Parameters: layerOpt ( NXOpen.PasteSpecialBuilderLayerOption
) –New in version NX5.0.0.
License requirements: None.
Method Detail¶
Validate¶
-
PasteSpecialBuilder.
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.