News:

Please note new Forum URL: forum.designcad.com

Main Menu
DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Selection Rotate

Started by charly-bochum, November 02, 2008, 02:24:20 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

charly-bochum

Drawing in 2D with DC 17 the rotation of selected elements could be done very easy with the two appending simple macros. It worked with activated Selection Handle and independent of Drag Mode or Make A Copy.

In DC 18 Drag Mode must be set invalid, before it works, and that is tedious, if Dragmode is used normally. For avoiding that, You must know the status of Drag Mode or look for it before running the macros.

Is there a reason for that change in SDK or is it possible to go back to the old method?

Mark Laing

Here's my version of that macro.

>Rotate
{
  <Axis 2
  <Angle 90.0000
  <DragMode 1
  }

prl

IMSI doesn't explain its "fix" list work flow even to beta testers. Myself and a few others have wondered out loud why IMSI "fixes" things that nobody wants or needs fixed.

charly-bochum

Hello Mark

Thanks for Your macro. But I think there should be in <DragMode 0 instead of 1.
For safety's sake also <ThroughHandle 1 is to recommend. It looks then

>Rotate
{
  <ThroughHandle 1
  <Axis 2
  <Angle [+90]
  <DragMode 0
}

But is there also a possibility to switch automatically to DragMode 1 at the end of the macro?

bdeck

Quote from: charly-bochum on November 04, 2008, 03:24:26 PM
But is there also a possibility to switch automatically to DragMode 1 at the end of the macro?


Hi CB,

Rob S. showed me a very useful parameter for that purpose.

Just add the following to your macro:

>Rotate
{
  <DragMode 1
  <NULL
}


BD

charly-bochum

Hallo BD and Rob S.

Your advice was very good.

I had not yet discovered the macro parameter <NULL in the Macro Reference, though it seems to be very usefull in general.

Many Thanks

CB