RhinoCommon API
TextFields Class |
This Class Processes Text Field Functions
Namespace: Rhino.Runtime
Assembly: RhinoCommon (in RhinoCommon.dll)
The TextFields type exposes the following members.
| Name | Description | |
|---|---|---|
| Area(String) |
Returns the area value for a selected object id
| |
| Area(String, String) |
Returns the area value for a selected object id in a specified unit system
| |
| BlockAttributeText |
User text associated with a block
| |
| BlockInstanceCount |
Returns the number of block instances found in the document
with the specified block definition name or the instance reference id.
| |
| BlockInstanceName |
Returns the block definition name of a block instance
| |
| CurveLength(String) |
Get length of a curve given a string id
| |
| CurveLength(String, String) |
Get length of a curve given a string id in a specified unit system.
UnitSystem enumeration as string
| |
| Date |
Current date
| |
| Date(String) |
Current date in a specified format
| |
| Date(String, String) |
Current Date in a specific format and language
| |
| DateModified |
Date the document was last edited
| |
| DateModified(String) |
Date the document was last edited in a specified format
| |
| DateModified(String, String) |
Date the document was last edited in a specific format and language in local time
| |
| DetailScale |
Returns a detail views scale
| |
| DocumentText |
Return document user string for a given key
| |
| FileName |
Return full path to the document
| |
| FileName(String) |
Return path to the document
| |
| GetInstanceAttributeFields(String) |
Gets an array of block attribute definitions associated with a
TextObject.
| |
| GetInstanceAttributeFields(InstanceDefinition) | ||
| GetInstanceAttributeFields(TextObject) |
Gets an array of block attribute definitions associated with a
TextObject.
| |
| LayerName |
Returns the name of a layer based on the layers guid
| |
| LayoutUserText(String) |
Returns a value from the active layouts user text strings for the specified key.
| |
| LayoutUserText(String, String) |
Returns user text value from a layout id Key
| |
| ModelUnits | ||
| Notes |
Notes for a RhinoDoc
| |
| NumPages |
Number of layout pages in a document
| |
| ObjectLayer |
Return an object's layer name
| |
| ObjectName |
Return an object's name
| |
| PageHeight |
Return the current layout page height in the layout units
| |
| PageName |
Return the current layout page name
| |
| PageName(String) |
Return the page name for the specified View ID
| |
| PageNumber |
Returns the current layouts page number
| |
| PageWidth |
Return the current layout page width in the layout units
| |
| PaperName |
Returns the layouts selected paper name
example Letter / A4 / A6
| |
| PointCoordinate |
returns the location of a 3d point
| |
| UserText(String, String) |
User text associated with an object, block or layout
| |
| UserText(String, String, String) |
User text associated with an object, block or layout
| |
| UserText(String, String, String, String) |
User text associated with an object, block or layout
| |
| Volume(String) |
Returns the volume for the selected object id
| |
| Volume(String, String) |
Returns volume for selected object id in the specified unit system
|