UserCoordinateSystems Object
Description
The UserCoordinateSystems collection object contains all user coordinate systems within the document and provides methods to create additional ones.
Methods
| Add |
Method that creates a new User Coordinate System. The newly created UserCoordinateSystem object is returned. |
| CreateDefinition |
Method that creates a new UserCoordinateSystemDefinition object. |
Properties
| Application |
Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned. |
| Count |
Property that returns the number of items in the collection. |
| Item |
Returns the specified UserCoordinateSystem object from the collection. |
| Type |
Returns an ObjectTypeEnum indicating this object's type. |
Accessed From
AssemblyComponentDefinition.UserCoordinateSystems,
FlatPattern.UserCoordinateSystems,
PartComponentDefinition.UserCoordinateSystems,
SheetMetalComponentDefinition.UserCoordinateSystems,
WeldmentComponentDefinition.UserCoordinateSystems
Samples
| UCS by three points |
This sample demonstrates the creation of a User Coordinate System (UCS) based on 3 points that define the origin, x-direction and y-direction for the UCS. |
| UCS by transformation matrix |
This sample demonstrates the creation of a user coordinate system (UCS) by specifying a transformation matrix. |
Version
Introduced in version 2010