GlobalCoordinates
Global coordinates define positions relative to the global coordinate system.
Example
application = cf.Application.getInstance() project = application:NewProject() cuboid = project.Contents.Geometry:AddCuboid(cf.Point(0, 0, 0), 1, 1, 1) -- Modify the workplane origin (global coordinates) of the cuboid cuboid.LocalWorkplane.WorkplaneDefinitionOption = cf.Enums.LocalWorkplaneDefinitionEnum.UseCustomDefinedWorkplane cuboid.LocalWorkplane.LocalDefinedWorkplane.Origin.X = 2.5 cuboid.LocalWorkplane.LocalDefinedWorkplane.Origin.Y = -0.5 cuboid.LocalWorkplane.LocalDefinedWorkplane.Origin.Z = 1
Inheritance
The GlobalCoordinates object is derived from the CompositeValue object.
The following objects are derived (specialisations) from the GlobalCoordinates object:
Usage locations
The GlobalCoordinates object can be accessed from the following locations:
- Properties
- Scale object has property Origin.
- CableConnector object has property Position.
- FEMLineMeshPort object has property Start.
- FEMLineMeshPort object has property End.
- FEMLinePort object has property Start.
- FEMLinePort object has property End.
- WaveguideMeshPort object has property ManualReferenceVector.
- WaveguidePort object has property ManualReferenceVector.
- SAR object has property SpecifiedPosition.
- TransmissionReflection object has property Position.
- ReferenceDirection object has property End.
- ReferenceDirection object has property Start.
- Methods
- GlobalCoordinatesList object has method append().
- GlobalCoordinatesList object has method get(number).