NXOpen .NET Reference Guide
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Properties | List of all members
NXOpen.MechanicalRouting.StockBuilder Class Reference

Builder for creating/editing stocks. More...

Inheritance diagram for NXOpen.MechanicalRouting.StockBuilder:
NXOpen.Builder NXOpen.TaggedObject NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Utilities.NXRemotableObject IMessageSink

Public Member Functions

unsafe void GetLogicalObjects (out NXOpen.PDM.LogicalObject[] logicalObjects)
 Returns the PDM.LogicalObject s that represent content that will be created by this builder. More...
 
unsafe void PreCommit ()
 Performs the operations needed prior to a commit. 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...
 
- Public Member Functions inherited from NXOpen.TaggedObject
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
override string ToString ()
 Returns a String that represents the current Object. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. 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.Routing.StockBlockBuilder 
StockSettings [get]
 Returns the path stock settings required to assign stock More...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 

Detailed Description

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

Member Function Documentation

unsafe void NXOpen.MechanicalRouting.StockBuilder.GetLogicalObjects ( out NXOpen.PDM.LogicalObject[]  logicalObjects)
inline

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")

Parameters
logicalObjects
unsafe void NXOpen.MechanicalRouting.StockBuilder.PreCommit ( )
inline

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")

Property Documentation

unsafe NXOpen.Direction NXOpen.MechanicalRouting.StockBuilder.CrossSectionDirection
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")

unsafe bool NXOpen.MechanicalRouting.StockBuilder.MirrorCrossSection
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")

unsafe NXOpen.Expression NXOpen.MechanicalRouting.StockBuilder.OrientationAngle
get

Returns the angle.

Determines the rotation angle of the stock.

Created in NX11.0.0

License requirements: routing_base ("Routing Basic")

unsafe NXOpen.Routing.RouteObjectCollector NXOpen.MechanicalRouting.StockBuilder.SegmentCollector
get

Returns the routing object collector that collects segments to assign stock to.

Created in NX11.0.0

License requirements: routing_base ("Routing Basic")

unsafe string NXOpen.MechanicalRouting.StockBuilder.StockAnchor
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")

unsafe NXOpen.Routing.StockBlockBuilder NXOpen.MechanicalRouting.StockBuilder.StockSettings
get

Returns the path stock settings required to assign stock

Created in NX11.0.0

License requirements: routing_base ("Routing Basic")


The documentation for this class was generated from the following file:
Copyright 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.