Class UFUnit
Implements
System.Runtime.Remoting.Messaging.IMessageSink
Inherited Members
System.MarshalByRefObject.CreateObjRef(System.Type)
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.MemberwiseClone(System.Boolean)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: NXOpen.UF
Assembly: NXOpen.UF.dll
Syntax
public class UFUnit : NXRemotableObject, IMessageSink
Methods
AskMeasureTypeFromUnitTag(Tag, out UnitMeasureType)
Declaration
public void AskMeasureTypeFromUnitTag(Tag unit, out UnitMeasureType measure_type)
Parameters
Type | Name | Description |
---|---|---|
Tag | unit | |
UnitMeasureType | measure_type |
AskSystemUnitTagFromMeasure(Tag, UnitMeasureType, out Tag)
Declaration
public void AskSystemUnitTagFromMeasure(Tag _object, UnitMeasureType unit_measure_type, out Tag unit)
Parameters
Type | Name | Description |
---|---|---|
Tag | _object | |
UnitMeasureType | unit_measure_type | |
Tag | unit |
AskUnitNameFromUnitTag(Tag, out String)
Declaration
public void AskUnitNameFromUnitTag(Tag unit, out string name)
Parameters
Type | Name | Description |
---|---|---|
Tag | unit | |
System.String | name |
AskUnitTagFromUnitName(Tag, UnitMeasureType, String, out Tag)
Declaration
public void AskUnitTagFromUnitName(Tag _object, UnitMeasureType unit_measure_type, string name, out Tag unit)
Parameters
Type | Name | Description |
---|---|---|
Tag | _object | |
UnitMeasureType | unit_measure_type | |
System.String | name | |
Tag | unit |
ConvertValue(Double, Tag, Tag, out Double)
Declaration
public void ConvertValue(double initial_value, Tag initial_units, Tag new_units, out double converted_value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | initial_value | |
Tag | initial_units | |
Tag | new_units | |
System.Double | converted_value |
Implements
System.Runtime.Remoting.Messaging.IMessageSink