Class PartObject
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
PartiallyShaded
Declaration
public bool PartiallyShaded { get; set; }
Property Value
PointSymbol
Declaration
public int PointSymbol { get; set; }
Property Value
Tag
Declaration
Property Value
Translucency
Declaration
public int Translucency { get; set; }
Property Value
Methods
ConvertColorNumberToRGBValue(int)
Declaration
public ViewVisualizationSpecialEffects.ColorRGB ConvertColorNumberToRGBValue(int colorNumber)
Parameters
Type |
Name |
Description |
int |
colorNumber |
|
Returns
ConvertRGBValueToColorNumber(ColorRGB)
Declaration
public int ConvertRGBValueToColorNumber(ViewVisualizationSpecialEffects.ColorRGB fogColorRgbValue)
Parameters
Returns
GetColor(ObjectType)
Declaration
public int GetColor(PartObject.ObjectType type)
Parameters
Returns
GetLegacyLineWidthMap(out WidthType[])
Declaration
public void GetLegacyLineWidthMap(out PartObject.WidthType[] newLineWidths)
Parameters
Type |
Name |
Description |
WidthType[] |
newLineWidths |
|
GetLineFont(ObjectType)
Declaration
public PartObject.LineFontType GetLineFont(PartObject.ObjectType type)
Parameters
Returns
GetWidth(ObjectType)
Declaration
public PartObject.WidthType GetWidth(PartObject.ObjectType type)
Parameters
Returns
MigrateLegacyLineWidths()
Declaration
public bool MigrateLegacyLineWidths()
Returns
SetColor(ObjectType, int)
Declaration
public void SetColor(PartObject.ObjectType type, int color)
Parameters
SetLegacyLineWidthMap(WidthType[])
Declaration
public void SetLegacyLineWidthMap(PartObject.WidthType[] newLineWidths)
Parameters
Type |
Name |
Description |
WidthType[] |
newLineWidths |
|
SetLineFont(ObjectType, LineFontType)
Declaration
public void SetLineFont(PartObject.ObjectType type, PartObject.LineFontType lineFont)
Parameters
SetWidth(ObjectType, WidthType)
Declaration
public void SetWidth(PartObject.ObjectType type, PartObject.WidthType width)
Parameters
Implements
System.Runtime.Remoting.Messaging.IMessageSink