NXOpen .NET Reference
12.0.0
|
Builder for creating/editing stocks. More...
Public Member Functions | |
unsafe void | PreCommit () |
Performs the operations needed prior to a commit. More... | |
unsafe void | GetLogicalObjects (out NXOpen.PDM.LogicalObject[] logicalObjects) |
Returns the PDM.LogicalObject s that represent content that will be created by this builder. More... | |
Public Member Functions inherited from NXOpen.Builder | |
unsafe NXOpen.NXObject | Commit () |
Commits any edits that have been applied to the builder. More... | |
unsafe void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
unsafe NXOpen.NXObject[] | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
unsafe NXOpen.NXObject | GetObject () |
Returns the object currently being edited by this builder. More... | |
unsafe void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
unsafe bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Properties | |
unsafe NXOpen.Direction | CrossSectionDirection [get, set] |
Returns or sets the orientation vector. More... | |
unsafe bool | MirrorCrossSection [get, set] |
Returns or sets the mirror cross section value. More... | |
unsafe NXOpen.Expression | OrientationAngle [get] |
Returns the angle. More... | |
unsafe NXOpen.Routing.RouteObjectCollector | SegmentCollector [get] |
Returns the routing object collector that collects segments to assign stock to. More... | |
unsafe string | StockAnchor [get, set] |
Returns or sets More... | |
unsafe NXOpen.MechanicalRouting.PathStockPreferenceBuilder | StockSettings [get] |
Returns the path stock settings required to assign stock More... | |
Builder for creating/editing stocks.
Create Stock: Takes a set of segments and assign the selected the stock to the segments. The stock style and orientation settings are optional. Edit Stock: Takes in the selected stock to edit as input and redefines the stock with the new settings.
To create a new instance of this class, use NXOpen.MechanicalRouting.BuilderFactory.CreateStockBuilder
Default values.
Property | Value |
---|---|
OrientationAngle.Value |
0 |
Created in NX11.0.0
unsafe void NXOpen.MechanicalRouting.StockBuilder.GetLogicalObjects | ( | out NXOpen.PDM.LogicalObject[] | logicalObjects | ) |
Returns the PDM.LogicalObject s that represent content that will be created by this builder.
Created in NX11.0.1
License requirements: routing_base ("Routing Basic")
logicalObjects |
unsafe void NXOpen.MechanicalRouting.StockBuilder.PreCommit | ( | ) |
Performs the operations needed prior to a commit.
This method has to be called before invoking commit.
Created in NX11.0.1
License requirements: routing_base ("Routing Basic")
|
getset |
Returns or sets the orientation vector.
cross section direction of the stock.
Created in NX11.0.0
License requirements to get this property: routing_base ("Routing Basic")
License requirements to set this property: routing_base ("Routing Basic")
|
getset |
Returns or sets the mirror cross section value.
Created in NX11.0.0
License requirements to get this property: routing_base ("Routing Basic")
License requirements to set this property: routing_base ("Routing Basic")
|
get |
Returns the angle.
Determines the rotation angle of the stock.
Created in NX11.0.0
License requirements: routing_base ("Routing Basic")
|
get |
Returns the routing object collector that collects segments to assign stock to.
Created in NX11.0.0
License requirements: routing_base ("Routing Basic")
|
getset |
Returns or sets
Created in NX11.0.0
License requirements to get this property: routing_base ("Routing Basic")
License requirements to set this property: routing_base ("Routing Basic")
|
get |
Returns the path stock settings required to assign stock
Created in NX11.0.0
License requirements: routing_base ("Routing Basic")