CreateFrame¶
-
IFrame IGeometry.CreateFrame(string name, IFrame referenceFrame)¶
Creates a frame.
- Parameters
name – Name of the frame.
referenceFrame – Frame used as reference frame. Applied translations and/or rotations are with respect to the reference frame.
- Returns
IFrame – Created frame.
- Throws
CommunicationErrorException
– Protocol error.ConnectionLostException
– Connection to controller lost.System.ObjectDisposedException
– Object is destroyed.RebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.InvalidArgumentException
– Name string does not follow naming rules.OutOfResourcesException
– Out of memory while creating frame.