Class PartObject
Inheritance
System.Object
System.MarshalByRefObject
PartObject
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)
Assembly: NXOpen.dll
Syntax
public class PartObject : NXRemotableObject, IMessageSink
Constructors
PartObject(PartPreferences)
Declaration
protected PartObject(PartPreferences owner)
Parameters
Properties
FaceAnalysis
Declaration
public bool FaceAnalysis { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
PartiallyShaded
Declaration
public bool PartiallyShaded { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Tag
Declaration
Property Value
Translucency
Declaration
public int Translucency { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
ConvertColorNumberToRGBValue(Int32)
Declaration
public ViewVisualizationSpecialEffects.ColorRGB ConvertColorNumberToRGBValue(int colorNumber)
Parameters
Type |
Name |
Description |
System.Int32 |
colorNumber |
|
Returns
ConvertRGBValueToColorNumber(ViewVisualizationSpecialEffects.ColorRGB)
Declaration
public int ConvertRGBValueToColorNumber(ViewVisualizationSpecialEffects.ColorRGB fogColorRgbValue)
Parameters
Returns
Type |
Description |
System.Int32 |
|
GetColor(PartObject.ObjectType)
Declaration
public int GetColor(PartObject.ObjectType type)
Parameters
Returns
Type |
Description |
System.Int32 |
|
GetLegacyLineWidthMap(out PartObject.WidthType[])
Declaration
public void GetLegacyLineWidthMap(out PartObject.WidthType[] newLineWidths)
Parameters
GetLineFont(PartObject.ObjectType)
Declaration
public PartObject.LineFontType GetLineFont(PartObject.ObjectType type)
Parameters
Returns
GetWidth(PartObject.ObjectType)
Declaration
public PartObject.WidthType GetWidth(PartObject.ObjectType type)
Parameters
Returns
MigrateLegacyLineWidths()
Declaration
public bool MigrateLegacyLineWidths()
Returns
Type |
Description |
System.Boolean |
|
SetColor(PartObject.ObjectType, Int32)
Declaration
public void SetColor(PartObject.ObjectType type, int color)
Parameters
SetLegacyLineWidthMap(PartObject.WidthType[])
Declaration
public void SetLegacyLineWidthMap(PartObject.WidthType[] newLineWidths)
Parameters
SetLineFont(PartObject.ObjectType, PartObject.LineFontType)
Declaration
public void SetLineFont(PartObject.ObjectType type, PartObject.LineFontType lineFont)
Parameters
SetWidth(PartObject.ObjectType, PartObject.WidthType)
Declaration
public void SetWidth(PartObject.ObjectType type, PartObject.WidthType width)
Parameters
Implements
System.Runtime.Remoting.Messaging.IMessageSink