NXOpen .NET Reference  12.0.0
Public Types | Properties | List of all members
NXOpen.Scalar Class Reference

Represents a scalar. More...

Inheritance diagram for NXOpen.Scalar:
NXOpen.SmartObject NXOpen.DisplayableObject NXOpen.NXObject NXOpen.IFitTo NXOpen.INXObject NXOpen.INXObject

Public Types

enum  DimensionalityType {
  None, Length, Area, Volume,
  Mass, Angle, Force
}
 Specifies the dimensionality of the scalar. More...
 
- Public Types inherited from NXOpen.SmartObject
enum  UpdateOption {
  DontUpdate, WithinModeling, AfterModeling, AfterParentBody,
  Mixed
}
 Specifies when the smart object updates. More...
 
enum  VisibilityOption { Invisible, Visible, VisibleIfParentInvisible }
 Specifies the smart object visibility. More...
 
- Public Types inherited from NXOpen.DisplayableObject
enum  ObjectWidth {
  Normal, Thick, Thin, One = 5,
  Two, Three, Four, Five,
  Six, Seven, Eight, Nine
}
 specifies object width for objects such as lines and text More...
 
enum  ObjectFont {
  Solid = 1, Dashed, Phantom, Centerline,
  Dotted, LongDashed, DottedDashed
}
 specifies the object font for objects such as lines More...
 
- Public Types inherited from NXOpen.NXObject
enum  AttributeType {
  Invalid, Null, Boolean, Integer,
  Real, String, Time, Reference,
  Any = 100
}
 Specifies attribute type. More...
 
enum  DateAndTimeFormat { Numeric, Textual }
 Specifies the format of the date and time attribute. More...
 

Properties

unsafe
NXOpen.Scalar.DimensionalityType 
Dimensionality [get]
 Returns the dimensionality of a scalar. More...
 
unsafe string MeasurementName [get]
 Returns the measurement name, if the scalar represents a measurement. More...
 
unsafe double Value [get, set]
 Returns or sets the value of a scalar. More...
 
- Properties inherited from NXOpen.SmartObject
unsafe
NXOpen.SmartObject.UpdateOption 
Update [get]
 Returns the update option. More...
 
unsafe
NXOpen.SmartObject.VisibilityOption 
Visibility [get]
 Returns the visibility. More...
 
- Properties inherited from NXOpen.DisplayableObject
unsafe int Color [get, set]
 Returns or sets the color of the object. More...
 
unsafe bool IsBlanked [get]
 Returns the blank status of this object. More...
 
unsafe int Layer [get, set]
 Returns or sets the layer that the object is in. More...
 
unsafe
NXOpen.DisplayableObject.ObjectFont 
LineFont [get, set]
 Returns or sets the line font of the object. More...
 
unsafe
NXOpen.DisplayableObject.ObjectWidth 
LineWidth [get, set]
 Returns or sets the line width of the object. More...
 
unsafe NXOpen.Point3d NameLocation [get]
 Returns the location of the object's name. More...
 
- Properties inherited from NXOpen.NXObject
unsafe bool IsOccurrence [get]
 Returns whether this object is an occurrence or not. More...
 
unsafe string JournalIdentifier [get]
 Returns the identifier that would be recorded in a journal for this object. More...
 
unsafe string Name [get]
 Returns the custom name of the object. More...
 
unsafe NXOpen.Assemblies.Component OwningComponent [get]
 Returns the owning component, if this object is an occurrence. More...
 
unsafe NXOpen.BasePart OwningPart [get]
 Returns the owning part of this object More...
 
unsafe NXOpen.INXObject Prototype [get]
 Returns the prototype of this object if it is an occurrence. More...
 
- Properties inherited from NXOpen.INXObject
bool IsOccurrence [get]
 Returns whether this object is an occurrence or not. More...
 
string JournalIdentifier [get]
 Returns the identifier that would be recorded in a journal for this object. More...
 
string Name [get]
 Returns the custom name of the object. More...
 
NXOpen.Assemblies.Component OwningComponent [get]
 Returns the owning component, if this object is an occurrence. More...
 
NXOpen.BasePart OwningPart [get]
 Returns the owning part of this object More...
 
NXOpen.INXObject Prototype [get]
 Returns the prototype of this object if it is an occurrence. More...
 

Additional Inherited Members

- Public Member Functions inherited from NXOpen.SmartObject
unsafe void RemoveParameters ()
 Removes the smart object parameters. More...
 
unsafe void ReplaceParameters (NXOpen.SmartObject otherSo)
 Edit a smart object by replacing its parameters using parameters of other smart object of the same class. More...
 
unsafe void Evaluate ()
 Evaluate a smart object. More...
 
unsafe void SetVisibility (NXOpen.SmartObject.VisibilityOption visibility)
 Sets the visibility. More...
 
unsafe void ProtectFromDelete ()
 Protects the SmartObject from being deleted if any referencing objects are deleted. More...
 
unsafe void ReleaseDeleteProtection ()
 Removes delete protection from the SmartObject. More...
 

Detailed Description

Represents a scalar.

To create a new instance of this class, use NXOpen.ScalarCollection.CreateScalar

Created in NX3.0.0

Member Enumeration Documentation

Specifies the dimensionality of the scalar.

Enumerator
None 
Length 
Area 
Volume 
Mass 
Angle 
Force 

Property Documentation

unsafe NXOpen.Scalar.DimensionalityType NXOpen.Scalar.Dimensionality
get

Returns the dimensionality of a scalar.

Created in NX3.0.0

License requirements: None.

unsafe string NXOpen.Scalar.MeasurementName
get

Returns the measurement name, if the scalar represents a measurement.

For more information on measurements, see NXOpen.MeasureManager .

Created in NX5.0.1

License requirements: None.

unsafe double NXOpen.Scalar.Value
getset

Returns or sets the value of a scalar.

Created in NX3.0.0

License requirements to get this property: None.

License requirements to set this property: None.


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