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

Represents a collection of NXOpen.Scalar objects. More...

Inheritance diagram for NXOpen.ScalarCollection:
NXOpen.TaggedObjectCollection NXOpen.Utilities.NXRemotableObject IEnumerable IMessageSink

Public Member Functions

unsafe NXOpen.Scalar CreateScalar (double value, NXOpen.Scalar.DimensionalityType dimensionality, NXOpen.SmartObject.UpdateOption update)
 Creates a scalar without parameters. More...
 
unsafe NXOpen.Scalar CreateScalar (NXOpen.Scalar scalarExtract, NXOpen.Scalar scalarOptional, NXOpen.Scalar.DimensionalityType dimensionality, NXOpen.SmartObject.UpdateOption update)
 Creates a scalar via an existing scalar and an optional scalar. More...
 
unsafe NXOpen.Scalar CreateScalarExpression (NXOpen.Expression expression, NXOpen.Scalar.DimensionalityType dimensionality, NXOpen.SmartObject.UpdateOption update)
 Creates a scalar using an expression. More...
 
unsafe NXOpen.Scalar CreateScalarReciprocalValue (NXOpen.Scalar scalar, NXOpen.Scalar.DimensionalityType dimensionality, NXOpen.SmartObject.UpdateOption update)
 Creates a scalar whose value is a reciprocal of another scalar More...
 
NXOpen.Scalar[] ToArray ()
 Returns an array of NXOpen.Scalar objects. More...
 
- Public Member Functions inherited from NXOpen.TaggedObjectCollection
IEnumerator GetEnumerator ()
 Returns an enumerator that iterates through a collection. 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...
 

Protected Member Functions

override int EnumerateMoveNext (ref Tag currentTag, byte[] state)
 Advances the enumerator to the next element of the collection. More...
 
- Protected Member Functions inherited from NXOpen.TaggedObjectCollection
new void initialize ()
 <exclude> More...
 
- Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject
void initialize ()
 <exclude> More...
 

Properties

Tag Tag [get]
 Returns the tag of this object. More...
 

Detailed Description

Represents a collection of NXOpen.Scalar objects.

Iterating this collection only returns live uncondemned objects contained in the owning part of the collection. Note that NXOpen.Scalar is a smart object and many smart objects are condemned as they only exist to support other objects and are not displayed.

To obtain an instance of this class, refer to NXOpen.BasePart

Created in NX3.0.0

Member Function Documentation

unsafe NXOpen.Scalar NXOpen.ScalarCollection.CreateScalar ( double  value,
NXOpen.Scalar.DimensionalityType  dimensionality,
NXOpen.SmartObject.UpdateOption  update 
)
inline

Creates a scalar without parameters.

Created in NX3.0.0

License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") OR cam_base ("CAM BASE")

Parameters
value
dimensionality
update
Returns
unsafe NXOpen.Scalar NXOpen.ScalarCollection.CreateScalar ( NXOpen.Scalar  scalarExtract,
NXOpen.Scalar  scalarOptional,
NXOpen.Scalar.DimensionalityType  dimensionality,
NXOpen.SmartObject.UpdateOption  update 
)
inline

Creates a scalar via an existing scalar and an optional scalar.

Created in NX3.0.0

License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") OR cam_base ("CAM BASE")

Parameters
scalarExtract
scalarOptional
dimensionality
update
Returns
unsafe NXOpen.Scalar NXOpen.ScalarCollection.CreateScalarExpression ( NXOpen.Expression  expression,
NXOpen.Scalar.DimensionalityType  dimensionality,
NXOpen.SmartObject.UpdateOption  update 
)
inline

Creates a scalar using an expression.

Created in NX3.0.0

License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") OR cam_base ("CAM BASE")

Parameters
expression
dimensionality
update
Returns
unsafe NXOpen.Scalar NXOpen.ScalarCollection.CreateScalarReciprocalValue ( NXOpen.Scalar  scalar,
NXOpen.Scalar.DimensionalityType  dimensionality,
NXOpen.SmartObject.UpdateOption  update 
)
inline

Creates a scalar whose value is a reciprocal of another scalar

Created in NX8.0.0

License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") OR cam_base ("CAM BASE")

Parameters
scalar
dimensionality
update
Returns
override int NXOpen.ScalarCollection.EnumerateMoveNext ( ref Tag  currentTag,
byte[]  state 
)
inlineprotectedvirtual

Advances the enumerator to the next element of the collection.

Implements NXOpen.TaggedObjectCollection.

NXOpen.Scalar [] NXOpen.ScalarCollection.ToArray ( )
inline

Returns an array of NXOpen.Scalar objects.

Property Documentation

Tag NXOpen.ScalarCollection.Tag
get

Returns the tag of this object.


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