GlobalCoordinates
Global coordinates define positions relative to the global coordinate system.
Example
app = cf.GetApplication() project = app:NewProject() cuboid = project.Geometry:AddCuboid(cf.Point(0, 0, 0), 1, 1, 1) -- Modify the workplane origin (global coordinates) of the cuboid cuboid.LocalWorkplane.Origin.X = 2.5 cuboid.LocalWorkplane.Origin.Y = -0.5 cuboid.LocalWorkplane.Origin.Z = 1
Usage locations (object properties)
The following objects have properties using the GlobalCoordinates object:
- LocalWorkplane(.Origin)
- LocalWorkplane(.UVector)
- LocalWorkplane(.VVector)
- CableConnector(.Position)
- ReferenceDirection(.Start)
- ReferenceDirection(.End)
- TransmissionReflection(.Position)
- SAR(.SpecifiedPosition)
- FEMLineMeshPort(.Start)
- FEMLineMeshPort(.End)
- WaveguideMeshPort(.ReferenceVector)
- FEMLinePort(.Start)
- FEMLinePort(.End)
- WaveguidePort(.ReferenceVector)
- Scale(.Origin)
- Workplane(.Origin)
- Workplane(.UVector)
- Workplane(.VVector)
Property List
- X
- The X coordinate. (Read/Write Expression)
- Y
- The Y coordinate. (Read/Write Expression)
- Z
- The Z coordinate. (Read/Write Expression)
Property Details
- X
- The X coordinate.
- Type
- Expression
- Access
- Read/Write
- Y
- The Y coordinate.
- Type
- Expression
- Access
- Read/Write
- Z
- The Z coordinate.
- Type
- Expression
- Access
- Read/Write