Class ElementBuilder
Inheritance
System.Object
System.MarshalByRefObject
ElementBuilder
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.ReferenceEquals(System.Object, System.Object)
Assembly: NXOpen.dll
Syntax
public class ElementBuilder : Builder, IMessageSink, IComponentBuilder
Constructors
ElementBuilder()
Declaration
protected ElementBuilder()
Properties
CircleSize
Declaration
public double CircleSize { get; set; }
Property Value
Type |
Description |
System.Double |
|
EnableBackground
Declaration
public bool EnableBackground { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Geometries
Declaration
public SelectDisplayableObjectList Geometries { get; }
Property Value
IconName
Declaration
public string IconName { get; set; }
Property Value
Type |
Description |
System.String |
|
LeaderLineFont
Declaration
public DisplayableObject.ObjectFont LeaderLineFont { get; set; }
Property Value
LeaderLineWidth
Declaration
public DisplayableObject.ObjectWidth LeaderLineWidth { get; set; }
Property Value
LineColor
Declaration
public NXColor LineColor { get; set; }
Property Value
LineFont
Declaration
public DisplayableObject.ObjectFont LineFont { get; set; }
Property Value
LineWidth
Declaration
public DisplayableObject.ObjectWidth LineWidth { get; set; }
Property Value
Location
Declaration
public Point3d Location { get; set; }
Property Value
PinToScreen
Declaration
public bool PinToScreen { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Style
Declaration
public ElementBuilder.Styles Style { get; set; }
Property Value
TerminatingObjects
Declaration
public SelectDisplayableObjectList TerminatingObjects { get; }
Property Value
TextFont
Declaration
public string TextFont { get; set; }
Property Value
Type |
Description |
System.String |
|
TextFontStyle
Declaration
public TextBuilder.FontStyleOptions TextFontStyle { get; set; }
Property Value
TextScale
Declaration
public Text.ScaleOptions TextScale { get; set; }
Property Value
Methods
Declaration
public string[] GetComment()
Returns
Type |
Description |
System.String[] |
|
GetEllipseSize(out Double, out Double)
Declaration
public void GetEllipseSize(out double majorRadius, out double minorRadius)
Parameters
Type |
Name |
Description |
System.Double |
majorRadius |
|
System.Double |
minorRadius |
|
GetRectangleSize(out Double, out Double)
Declaration
public void GetRectangleSize(out double length, out double width)
Parameters
Type |
Name |
Description |
System.Double |
length |
|
System.Double |
width |
|
GetTextContent()
Declaration
public string[] GetTextContent()
Returns
Type |
Description |
System.String[] |
|
Declaration
public void SetComment(string[] comment)
Parameters
Type |
Name |
Description |
System.String[] |
comment |
|
SetEllipseSize(Double, Double)
Declaration
public void SetEllipseSize(double majorRadius, double minorRadius)
Parameters
Type |
Name |
Description |
System.Double |
majorRadius |
|
System.Double |
minorRadius |
|
SetFreehandShape(Point3d[])
Declaration
public void SetFreehandShape(Point3d[] controlPoints)
Parameters
Type |
Name |
Description |
Point3d[] |
controlPoints |
|
SetRectangleSize(Double, Double)
Declaration
public void SetRectangleSize(double length, double width)
Parameters
Type |
Name |
Description |
System.Double |
length |
|
System.Double |
width |
|
SetTextContent(String[])
Declaration
public void SetTextContent(string[] comment)
Parameters
Type |
Name |
Description |
System.String[] |
comment |
|
Implements
System.Runtime.Remoting.Messaging.IMessageSink