ViewProjectionBuilder Class¶
-
class
NXOpen.Drawings.ViewProjectionBuilder¶ Bases:
NXOpen.BuilderRepresents a
NXOpen.Drawings.ViewProjectionBuilder.This class is used to project the contents of a drafting member view to other views
To create a new instance of this class, use
NXOpen.Drawings.DraftingViewCollection.CreateViewProjectionBuilder()Default values.
Property Value CurveTypeEdges Reference CurveTypePlane1 Active CurveTypePlane2 Active Plane1.DepthValue.Value 0.0 Plane1.PlaneOption Inferred Type ProjectOnTwoPlanes New in version NX6.0.2.
Properties¶
| Property | Description |
|---|---|
| CurvePoints | Returns the curve and points |
| CurveTypeEdges | Returns or sets the curve type edges in the setting group |
| CurveTypePlane1 | Returns or sets the curve type plane 1 in the setting group |
| CurveTypePlane2 | Returns or sets the curve type plane 2 in the setting group , if the type is set to one plane, the second plane information is ignored |
| FromView | Returns or sets the from view |
| Plane1 | Returns the plane 1 |
| Plane2 | Returns the plane 2, if the type is set to one plane, the second plane information is ignored |
| Tag | Returns the Tag for this object. |
| ToViews | Returns the to views |
| Type | Returns or sets the type of the view projection |
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¶
| ViewProjectionBuilderCurveType Enumeration | the value of curve type in the setting group |
| ViewProjectionBuilderTypes Enumeration | the type of view projection |
Property Detail¶
CurvePoints¶
-
ViewProjectionBuilder.CurvePoints¶ Returns the curve and points
-------------------------------------Getter Method
Signature
CurvePointsReturns: Return type: NXOpen.SectionNew in version NX6.0.2.
License requirements: None.
CurveTypeEdges¶
-
ViewProjectionBuilder.CurveTypeEdges¶ Returns or sets the curve type edges in the setting group
-------------------------------------Getter Method
Signature
CurveTypeEdgesReturns: Return type: NXOpen.Drawings.ViewProjectionBuilderCurveTypeNew in version NX6.0.2.
License requirements: None.
-------------------------------------Setter Method
Signature
CurveTypeEdgesParameters: type ( NXOpen.Drawings.ViewProjectionBuilderCurveType) –New in version NX6.0.2.
License requirements: nx_layout (“NX Layout”)
CurveTypePlane1¶
-
ViewProjectionBuilder.CurveTypePlane1¶ Returns or sets the curve type plane 1 in the setting group
-------------------------------------Getter Method
Signature
CurveTypePlane1Returns: Return type: NXOpen.Drawings.ViewProjectionBuilderCurveTypeNew in version NX6.0.2.
License requirements: None.
-------------------------------------Setter Method
Signature
CurveTypePlane1Parameters: type ( NXOpen.Drawings.ViewProjectionBuilderCurveType) –New in version NX6.0.2.
License requirements: nx_layout (“NX Layout”)
CurveTypePlane2¶
-
ViewProjectionBuilder.CurveTypePlane2¶ Returns or sets the curve type plane 2 in the setting group , if the type is set to one plane, the second plane information is ignored
-------------------------------------Getter Method
Signature
CurveTypePlane2Returns: Return type: NXOpen.Drawings.ViewProjectionBuilderCurveTypeNew in version NX6.0.2.
License requirements: None.
-------------------------------------Setter Method
Signature
CurveTypePlane2Parameters: type ( NXOpen.Drawings.ViewProjectionBuilderCurveType) –New in version NX6.0.2.
License requirements: nx_layout (“NX Layout”)
FromView¶
-
ViewProjectionBuilder.FromView¶ Returns or sets the from view
-------------------------------------Getter Method
Signature
FromViewReturns: Return type: NXOpen.ViewNew in version NX6.0.2.
License requirements: nx_layout (“NX Layout”)
-------------------------------------Setter Method
Signature
FromViewParameters: fromview ( NXOpen.View) –New in version NX6.0.2.
License requirements: nx_layout (“NX Layout”)
Plane1¶
-
ViewProjectionBuilder.Plane1¶ Returns the plane 1
-------------------------------------Getter Method
Signature
Plane1Returns: Return type: NXOpen.Drawings.ViewProjectionPlaneBuilderNew in version NX6.0.2.
License requirements: None.
Plane2¶
-
ViewProjectionBuilder.Plane2¶ Returns the plane 2, if the type is set to one plane, the second plane information is ignored
-------------------------------------Getter Method
Signature
Plane2Returns: Return type: NXOpen.Drawings.ViewProjectionPlaneBuilderNew in version NX6.0.2.
License requirements: None.
ToViews¶
-
ViewProjectionBuilder.ToViews¶ Returns the to views
-------------------------------------Getter Method
Signature
ToViewsReturns: Return type: NXOpen.Drawings.SelectDraftingViewListNew in version NX6.0.2.
License requirements: None.
Type¶
-
ViewProjectionBuilder.Type¶ Returns or sets the type of the view projection
-------------------------------------Getter Method
Signature
TypeReturns: Return type: NXOpen.Drawings.ViewProjectionBuilderTypesNew in version NX6.0.2.
License requirements: None.
-------------------------------------Setter Method
Signature
TypeParameters: type ( NXOpen.Drawings.ViewProjectionBuilderTypes) –New in version NX6.0.2.
License requirements: nx_layout (“NX Layout”)
Method Detail¶
Validate¶
-
ViewProjectionBuilder.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.