Method | Description | |
---|---|---|
CreateDimensionElement ( View view, XYZ p1, System.Reference r1, XYZ p2, System.Reference r2 ) : void |
Create a new dimension element using the given references and dimension line end points. This method opens and commits its own transaction, assuming that no transaction is open yet and manual transaction mode is being used. Note that this has only been tested so far using references to surfaces on planar walls in a plan view.
|
|
CreateLinearDimension ( Document doc ) : Dimension | ||
DuplicateDimension ( Document doc, Dimension dimension ) : void | ||
Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result |
Method | Description | |
---|---|---|
GetClosestFace ( Element e, XYZ p, XYZ normal, Options opt ) : Face |
Return the closest planar face to a given point p on the element e with a given normal vector.
|
public static CreateDimensionElement ( View view, XYZ p1, System.Reference r1, XYZ p2, System.Reference r2 ) : void | ||
view | View | |
p1 | XYZ | |
r1 | System.Reference | |
p2 | XYZ | |
r2 | System.Reference | |
return | void |
public CreateLinearDimension ( Document doc ) : Dimension | ||
doc | Document | |
return | Dimension |
public DuplicateDimension ( Document doc, Dimension dimension ) : void | ||
doc | Document | |
dimension | Dimension | |
return | void |
public Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result | ||
commandData | ExternalCommandData | |
message | string | |
elements | ElementSet | |
return | System.Result |