Class SmartFrame2D
Represents a 2D smart frame.
Inherited Members
Namespace: TopSolid.Kernel.Automating
Assembly: cs.temp.dll.dll
Syntax
[AvailableSinceVersion(7, 7, 0, 0)]
public class SmartFrame2D : SmartObject
Remarks
This class is available since v7.7.
Constructors
SmartFrame2D(ElementId)
Initializes a new instance of the SmartFrame2D class of type Element.
Declaration
public SmartFrame2D(ElementId inElementId)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inElementId | Identifier of providing element. |
SmartFrame2D(ElementId, ItemLabel)
Initializes a new instance of the SmartFrame2D class of type Item.
Declaration
public SmartFrame2D(ElementId inElementId, ItemLabel inItemLabel)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inElementId | Identifier of providing element. |
ItemLabel | inItemLabel | Label of providing element item. |
SmartFrame2D(Frame2D, Double, Double, Double, Double)
Initializes a new instance of the SmartFrame2D class of type Basic.
Declaration
public SmartFrame2D(Frame2D inGeometry, double inExtentXMin, double inExtentXMax, double inExtentYMin, double inExtentYMax)
Parameters
Type | Name | Description |
---|---|---|
Frame2D | inGeometry | Geometry. |
System.Double | inExtentXMin | Minimum X coordinate of extent. |
System.Double | inExtentXMax | Maximum X coordinate of extent. |
System.Double | inExtentYMin | Minimum Y coordinate of extent. |
System.Double | inExtentYMax | Maximum Y coordinate of extent. |
SmartFrame2D(SmartFrame2DType, Nullable<Frame2D>, Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<Double>, ElementId, ItemLabel)
Initializes a new instance of the SmartFrame2D class.
Declaration
public SmartFrame2D(SmartFrame2DType inType, Frame2D? inGeometry, double? inExtentXMin, double? inExtentXMax, double? inExtentYMin, double? inExtentYMax, ElementId inElementId, ItemLabel inItemLabel)
Parameters
Type | Name | Description |
---|---|---|
SmartFrame2DType | inType | Type of smart frame. |
System.Nullable<Frame2D> | inGeometry | Geometry, or null if unknown. |
System.Nullable<System.Double> | inExtentXMin | Minimum X coordinate of extent, or null if unknown. |
System.Nullable<System.Double> | inExtentXMax | Maximum X coordinate of extent, or null if unknown. |
System.Nullable<System.Double> | inExtentYMin | Minimum Y coordinate of extent, or null if unknown. |
System.Nullable<System.Double> | inExtentYMax | Maximum Y coordinate of extent, or null if unknown. |
ElementId | inElementId | Identifier of providing element, or Empty for none. |
ItemLabel | inItemLabel | Label of providing element item, or Empty for none. |
Fields
ElementId
Providing element identifier, or empty if none.
Declaration
public ElementId ElementId
Field Value
Type | Description |
---|---|
ElementId |
ExtentXMax
Maximum X frame coordinate of extent, or null if unknown.
Declaration
public double? ExtentXMax
Field Value
Type | Description |
---|---|
System.Nullable<System.Double> |
ExtentXMin
Minimum X frame coordinate of extent, or null if unknown.
Declaration
public double? ExtentXMin
Field Value
Type | Description |
---|---|
System.Nullable<System.Double> |
ExtentYMax
Maximum Y frame coordinate of extent, or null if unknown.
Declaration
public double? ExtentYMax
Field Value
Type | Description |
---|---|
System.Nullable<System.Double> |
ExtentYMin
Minimum Y frame coordinate of extent, or null if unknown.
Declaration
public double? ExtentYMin
Field Value
Type | Description |
---|---|
System.Nullable<System.Double> |
Geometry
Geometry, or null if unknown.
Declaration
public Frame2D? Geometry
Field Value
Type | Description |
---|---|
System.Nullable<Frame2D> |
ItemLabel
Providing element item label, or empty if none.
Declaration
public ItemLabel ItemLabel
Field Value
Type | Description |
---|---|
ItemLabel |
OXY
(O,+X,+Y) absolute frame.
Declaration
public static readonly SmartFrame2D OXY
Field Value
Type | Description |
---|---|
SmartFrame2D |
Type
Type of smart frame.
Declaration
public SmartFrame2DType Type
Field Value
Type | Description |
---|---|
SmartFrame2DType |