Table of Contents

Line3D

A straight line defined by two points.

Attributes

Name Type Use Description
GUIDRef ocx:guid optional A globally unique ID referring to an entity in the authoring application. The sending application creates and holds the GUID. Used to establish a unique reference to an entity persistent between applications.
id xs:ID required An identifier for an element unique within the scope of the XML file. Each id must be unique within a document. The attribute uses the standard XML 1.0 ID type as defined in the XML Schema specification. This attribute is required in many OCX XML elements and an application should generate them automatically.
is2D xs:boolean optional Set to True if the Curve3D is given in 2D space.
name xs:string optional An optional descriptive or display name.

Children

Name Type Cardinality Description
StartPoint ocx:Point3D_T [1, 1] The start position of the segment.
EndPoint ocx:Point3D_T [1, 1] The end position of the segment.
CurveLength ocx:Quantity_T [1, 1] The curve length computed by the sending application. Used to verify geometry reconstruction.
Description xs:string [0, 1] Contains a description of the component its parent represents. The description is stored as a string. You can use this element for whatever purposes you require. This element can be used inside many OCX XML elements but is optional.
CustomProperties ocx:CustomProperties_T [0, 1] Container for custom properties.