Reference parameter in Move command not working according to docs

Started by bdeck, March 26, 2018, 05:45:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bdeck

To the best of my recollection, the <Referece parameter of the Move command has never worked.

The two attached macros should perform identically in the attached drawing.

The macro using a preset handle works.

But the one using "<Reference 1" makes a mess of the drawing, seemingly even changing entity order.

The parameter seems to work OK in the Duplicate command.

' mtr.d3m         move test with reference
' attempts to move a sequence of entities a fixed distance relative to a fixed reference point.
' Each move seems to create an offset from the previous point, creating greater errors with each move.

>deselect
{
}
ne=sys(9)
for i=1 to ne

GETATTR i, t ,sel
PUTATTR i, t ,1

>Move
{
<Reference 1
<Type 1
<Pointxyz 0, 0, 0
<Pointxyz  2, 2, 0
}

print  "hit a key,    esc to exit"
anykey k
>deselect
{
}

if k = 27 then end
next i


(Drawing uploaded in ascii format to save space)