ViewCopyTo3dBuilder Class¶
-
class
NXOpen.Drawings.ViewCopyTo3dBuilder¶ Bases:
NXOpen.BuilderRepresents a
NXOpen.Drawings.ViewCopyTo3dBuilder.This class is used to copy the contents of a drawing view to modeling space
To create a new instance of this class, use
NXOpen.Drawings.DraftingViewCollection.CreateCopyTo3dBuilder()New in version NX6.0.0.
Properties¶
| Property | Description |
|---|---|
| BoundingBox | Returns or sets the type of bounding box |
| BoundingViews | Returns the select views in the placement group |
| CreateSketches | Returns or sets the flag indicating to create sketches in Modeling |
| Curves | Returns the select curves for source group |
| DestinationPart | Returns or sets the path to the destination part |
| DistanceFromViewPlane | Returns or sets the option specifying the distance from the view plane |
| ExtrudeSolidBody | Returns or sets the flag that indicates whether to extrude solid |
| Offset | Returns the expression of clearance |
| Output | Returns or sets the option of output in the setting group |
| ProcessSketchCurves | Returns or sets the flag indicating to process sketch curves |
| ProcessViewCurves | Returns or sets the flag indicating to process view curves |
| RepositionGeometry | Returns or sets the flag that indicates whether to automatically reposition geometry |
| Tag | Returns the Tag for this object. |
| Type | Returns or sets the type of copy |
| View | Returns the selected view for previous single view selection |
| Views | Returns the selected views for multiple views selection |
Methods¶
| Method | Description |
|---|---|
| Commit | The copy of the selected view to modeling |
| 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¶
| ViewCopyTo3dBuilderBoundingBoxOption Enumeration | The bounding box options |
| ViewCopyTo3dBuilderDistanceFromViewPlaneOption Enumeration | The option to get the distance |
| ViewCopyTo3dBuilderOption Enumeration | The pre-NX7. |
| ViewCopyTo3dBuilderOutputOption Enumeration | The output options |
| ViewCopyTo3dBuilderTypes Enumeration | The type of copy to 3d selections |
Property Detail¶
BoundingBox¶
-
ViewCopyTo3dBuilder.BoundingBox¶ Returns or sets the type of bounding box
-------------------------------------Getter Method
Signature
BoundingBoxReturns: Return type: NXOpen.Drawings.ViewCopyTo3dBuilderBoundingBoxOptionNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BoundingBoxParameters: option ( NXOpen.Drawings.ViewCopyTo3dBuilderBoundingBoxOption) –New in version NX7.5.0.
License requirements: nx_layout (“NX Layout”)
BoundingViews¶
-
ViewCopyTo3dBuilder.BoundingViews¶ Returns the select views in the placement group
-------------------------------------Getter Method
Signature
BoundingViewsReturns: Return type: NXOpen.Drawings.SelectDrawingViewListNew in version NX7.5.0.
License requirements: None.
CreateSketches¶
-
ViewCopyTo3dBuilder.CreateSketches¶ Returns or sets the flag indicating to create sketches in Modeling
-------------------------------------Getter Method
Signature
CreateSketchesReturns: Return type: bool New in version NX7.5.0.
Deprecated since version NX8.0.0: This method is no longer relevant and calls to this can be safely removed.
License requirements: None.
-------------------------------------Setter Method
Signature
CreateSketchesParameters: option (bool) – New in version NX7.5.0.
Deprecated since version NX8.0.0: This method is no longer relevant and calls to this can be safely removed.
License requirements: nx_layout (“NX Layout”)
Curves¶
-
ViewCopyTo3dBuilder.Curves¶ Returns the select curves for source group
-------------------------------------Getter Method
Signature
CurvesReturns: Return type: NXOpen.SelectNXObjectListNew in version NX7.5.0.
License requirements: None.
DestinationPart¶
-
ViewCopyTo3dBuilder.DestinationPart¶ Returns or sets the path to the destination part
-------------------------------------Getter Method
Signature
DestinationPartReturns: Return type: str New in version NX7.5.0.
License requirements: nx_layout (“NX Layout”)
-------------------------------------Setter Method
Signature
DestinationPartParameters: filename (str) – New in version NX7.5.0.
License requirements: nx_layout (“NX Layout”)
DistanceFromViewPlane¶
-
ViewCopyTo3dBuilder.DistanceFromViewPlane¶ Returns or sets the option specifying the distance from the view plane
-------------------------------------Getter Method
Signature
DistanceFromViewPlaneReturns: Return type: NXOpen.Drawings.ViewCopyTo3dBuilderDistanceFromViewPlaneOptionNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DistanceFromViewPlaneParameters: option ( NXOpen.Drawings.ViewCopyTo3dBuilderDistanceFromViewPlaneOption) –New in version NX6.0.0.
License requirements: nx_layout (“NX Layout”)
ExtrudeSolidBody¶
-
ViewCopyTo3dBuilder.ExtrudeSolidBody¶ Returns or sets the flag that indicates whether to extrude solid
-------------------------------------Getter Method
Signature
ExtrudeSolidBodyReturns: Return type: bool New in version NX7.5.0.
Deprecated since version NX8.0.0: This method is no longer relevant and calls to this can be safely removed.
License requirements: None.
-------------------------------------Setter Method
Signature
ExtrudeSolidBodyParameters: option (bool) – New in version NX7.5.0.
Deprecated since version NX8.0.0: This method is no longer relevant and calls to this can be safely removed.
License requirements: nx_layout (“NX Layout”)
Offset¶
-
ViewCopyTo3dBuilder.Offset¶ Returns the expression of clearance
-------------------------------------Getter Method
Signature
OffsetReturns: Return type: NXOpen.ExpressionNew in version NX6.0.0.
License requirements: None.
Output¶
-
ViewCopyTo3dBuilder.Output¶ Returns or sets the option of output in the setting group
-------------------------------------Getter Method
Signature
OutputReturns: Return type: NXOpen.Drawings.ViewCopyTo3dBuilderOutputOptionNew in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
OutputParameters: option ( NXOpen.Drawings.ViewCopyTo3dBuilderOutputOption) –New in version NX8.0.0.
License requirements: nx_layout (“NX Layout”)
ProcessSketchCurves¶
-
ViewCopyTo3dBuilder.ProcessSketchCurves¶ Returns or sets the flag indicating to process sketch curves
-------------------------------------Getter Method
Signature
ProcessSketchCurvesReturns: Return type: bool New in version NX7.5.0.
Deprecated since version NX8.0.0: This method is no longer relevant and calls to this can be safely removed.
License requirements: None.
-------------------------------------Setter Method
Signature
ProcessSketchCurvesParameters: option (bool) – New in version NX7.5.0.
Deprecated since version NX8.0.0: This method is no longer relevant and calls to this can be safely removed.
License requirements: nx_layout (“NX Layout”)
ProcessViewCurves¶
-
ViewCopyTo3dBuilder.ProcessViewCurves¶ Returns or sets the flag indicating to process view curves
-------------------------------------Getter Method
Signature
ProcessViewCurvesReturns: Return type: bool New in version NX7.5.0.
Deprecated since version NX8.0.0: This method is no longer relevant and calls to this can be safely removed.
License requirements: None.
-------------------------------------Setter Method
Signature
ProcessViewCurvesParameters: option (bool) – New in version NX7.5.0.
Deprecated since version NX8.0.0: This method is no longer relevant and calls to this can be safely removed.
License requirements: nx_layout (“NX Layout”)
RepositionGeometry¶
-
ViewCopyTo3dBuilder.RepositionGeometry¶ Returns or sets the flag that indicates whether to automatically reposition geometry
-------------------------------------Getter Method
Signature
RepositionGeometryReturns: Return type: bool New in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RepositionGeometryParameters: option (bool) – New in version NX8.0.0.
License requirements: nx_layout (“NX Layout”)
Type¶
-
ViewCopyTo3dBuilder.Type¶ Returns or sets the type of copy
-------------------------------------Getter Method
Signature
TypeReturns: Return type: NXOpen.Drawings.ViewCopyTo3dBuilderTypesNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TypeParameters: type ( NXOpen.Drawings.ViewCopyTo3dBuilderTypes) –New in version NX7.5.0.
License requirements: nx_layout (“NX Layout”)
View¶
-
ViewCopyTo3dBuilder.View¶ Returns the selected view for previous single view selection
-------------------------------------Getter Method
Signature
ViewReturns: Return type: NXOpen.Drawings.SelectDrawingViewNew in version NX6.0.0.
Deprecated since version NX7.5.0: This method is no longer relevant and calls to this can be safely removed.
License requirements: nx_layout (“NX Layout”)
Views¶
-
ViewCopyTo3dBuilder.Views¶ Returns the selected views for multiple views selection
-------------------------------------Getter Method
Signature
ViewsReturns: Return type: NXOpen.Drawings.SelectDrawingViewListNew in version NX6.0.1.
License requirements: nx_layout (“NX Layout”)
Method Detail¶
Commit¶
-
ViewCopyTo3dBuilder.Commit¶ Overloaded method Commit
Commit(offset, curves, sketches, option)Commit()
-------------------------------------The copy of the selected view to modeling
Signature
Commit(offset, curves, sketches, option)Parameters: - offset (float) – offset from origin
- curves (bool) – process curves
- sketches (bool) – process sketch curves
- option (int) – option of automatic or specify
New in version NX6.0.1.
Deprecated since version NX7.5.0: This method is no longer relevant and calls to this can be safely removed.
License requirements: nx_layout (“NX Layout”)
-------------------------------------Commits any edits that have been applied to the builder. Returns the object being edited, or a new object if the builder is being used in creation mode.
In certain cases this method may not return an object, please consult the particular class’s documentation to see if this method has a different behavior.
Signature
Commit()Returns: The object being edited, or the new object. Return type: NXOpen.NXObjectNew in version NX4.0.0.
License requirements: None.
-------------------------------------
Validate¶
-
ViewCopyTo3dBuilder.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.