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

Builder for creating/editing stocks. More...

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

Public Types

enum  StockStyleType { Centerline, SimpleSolid, DetailedSolid }
 The stock display style More...
 

Properties

unsafe bool FlipStock [get, set]
 Returns or sets the stock flip flag More...
 
unsafe bool GridTopologyEligibilityFlag [get, set]
 Returns or sets the grid topology eligibility flag. More...
 
unsafe bool RemoveExistingStock [get, set]
 Returns or sets the remove existing stock flag. More...
 
unsafe NXOpen.Expression RotationValue [get]
 Returns the rotation value. 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 the NXOpen.Routing.Anchor name associated with the stock. More...
 
unsafe
NXOpen.Routing.PathStockBuilder 
StockSettings [get, set]
 Returns or sets the stock settings for stock assignment. More...
 
unsafe
NXOpen.Routing.StockBuilder.StockStyleType 
StockStyle [get, set]
 Returns or sets the stock style of the stock to assign More...
 
unsafe bool SwapProfile [get, set]
 Returns or sets the profile swap flag. More...
 
- Properties inherited from NXOpen.Builder
unsafe NXOpen.PreviewBuilder PreviewBuilder [get]
 Returns the preview builder subobject. More...
 
- Properties inherited from NXOpen.TaggedObject
Tag Tag [get]
 Returns the tag of this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Additional Inherited Members

- 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...
 
- 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.Routing.RouteManager.CreateStockBuilder

Default values.

Property Value

FlipStock

0

RemoveExistingStock

1

RotationValue.Value

0

StockStyle

SimpleSolid

SwapProfile

0

Created in NX6.0.0

Member Enumeration Documentation

The stock display style

Enumerator
Centerline 

Centreline

SimpleSolid 

Simple Solid

DetailedSolid 

Detailed Solid

Property Documentation

unsafe bool NXOpen.Routing.StockBuilder.FlipStock
getset

Returns or sets the stock flip flag

Created in NX6.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.Routing.StockBuilder.GridTopologyEligibilityFlag
getset

Returns or sets the grid topology eligibility flag.

When this flag is set, a non circular stock will produce bend faces in the bend regions instead of merged faces. This flag has no effect on circular stock.

Created in NX10.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.Routing.StockBuilder.RemoveExistingStock
getset

Returns or sets the remove existing stock flag.

If set to TRUE the existing stock on the path will be removed when assigning new stock.

Created in NX6.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.Routing.StockBuilder.RotationValue
get

Returns the rotation value.

Determines the rotation angle of the stock.

Created in NX6.0.0

License requirements: routing_base ("Routing Basic")

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

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

Created in NX6.0.0

License requirements: routing_base ("Routing Basic")

unsafe string NXOpen.Routing.StockBuilder.StockAnchor
getset

Returns or sets the NXOpen.Routing.Anchor name associated with the stock.

Created in NX6.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.PathStockBuilder NXOpen.Routing.StockBuilder.StockSettings
getset

Returns or sets the stock settings for stock assignment.

Created in NX6.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.StockBuilder.StockStyleType NXOpen.Routing.StockBuilder.StockStyle
getset

Returns or sets the stock style of the stock to assign

Created in NX6.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.Routing.StockBuilder.SwapProfile
getset

Returns or sets the profile swap flag.

Determines whether the profile should be at the path start or end.

Created in NX6.0.0

License requirements to get this property: routing_base ("Routing Basic")

License requirements to set this property: 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.