Position VS Coordinate

Undesired Outcome Intended Outcome
Returns Error message received, as a polyline cannot be moved to a position.

Position VS Coordinate - Bug 1 - Undesired - Return.png
A polyline is moved to a position in a grid.

Position VS Coordinate - Bug 1 - Intended - Return.png
Procedures
Position VS Coordinate - Bug 1 - Undesired - Procedures.png

Position VS Coordinate - Bug 1 - Intended - Procedures.png
Explanations The error occurs due to layman thinking of “moving pl to a position” which does not work in Mobius as we have to move pl to a coordinate.

grid[0] does not return a coordinate which is a list of numbers or a vector, thus the function modify.Move will encounter error.
Debug by adding the reserved attribute of “@xyz” to the back of grid[0], which will return the coordinates of the position. With the input of coordinates, modify.Move will work.

Position VS Coordinate - Bug 1 - Intended - Explanations 1.png

Position VS Coordinate - Bug 1 - Intended - Explanations 2.png

results matching ""

    No results matching ""