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.

Remember "selected entities" status for slicing

Started by MarkX, November 21, 2011, 05:59:55 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

MarkX

It would be great if the status of "Selected Entities Only" were to be retained between sessions. Currently I have to remember to set it each time DC is booted. Frequently I remember only after I have sliced the entire project in two. I almost always want this toggled on, since conditions have to be just right to slice an entire project.


JJG

This wish has already been mentioned more than once ...
but other users do not necessarily think like you, or me.

Therefore, on my side, I took as a parade to drive such commands via macros, which always assure me that "Selected Entities Only" is checked ;
This is radical, no more needs to pay attention for that.

MarkX

Quote from: JJG on November 21, 2011, 10:18:02 AM
This wish has already been mentioned more than once ...
but other users do not necessarily think like you, or me.

Therefore, on my side, I took as a parade to drive such commands via macros, which always assure me that "Selected Entities Only" is checked ;
This is radical, no more needs to pay attention for that.

Can you provide a copy of the macro? Does it run every time you start DC?

Thanks!
Mark (who sliced his entire project AGAIN this  AM)

JJG

yes of course :
below is the code for the stretch-command, for example.

>Stretch
{
  <2DRange 1
  <SelectOnly 1
  <incomplete
  }


then feel free to define for it the shortcut you want.

This another example to see how to pre-define some parametrers :

debut:
If sys(80)= 0 then goto fin

>Rotate
{
  <Axis 0 '0 = x, 1 = y, 2 = z, 3 = 2-point, 4 = line, 5 = plane
  <null 'doesn't draw anything, but updates the drawing command to default to the specified parameters
  }

>Rotate
{
  <incomplete
   }

End.

fin:
inf$="veuillez sélectionner quelquechose puis relancez la macro"
message inf$
End