Make2D in R6

I have been using this macro in R5 to move my 2Ddrawing to another tab(named “RIT”);
! _-Make2d DrawingLayout=CurrentView ShowTangentEdges=Yes CreateHiddenLines=Yes ShowViewRectangle=No MaintainSourceLayers=No
_Pause
_SelNone _SelLast _Group _Cut _SetActiveViewport RIT _Paste _Move _Pause 0
I modified the options to fit R6 (DrawingLayout to Layout etc)
The first string, make2D works, but the second string after the _Pause seems to be blocked by the processing Make2d command. While processing the command the commandprompt shows “View projection Press Esc to cancel” and “_SelNone _SelLast _Group _Cut _SetActiveViewport RIT _Paste _Move _Pause 0” will be ignored.
If I wait and run tis part of the macro seperate it works.
I have tried with writing multiple _Pause but without success. What I need is somekind of “wait” command…
Anyone?

Hello - I think this will work-

! _-Make2d Pause Layout=View 
ShowTangents=Yes
CreateHiddenLines=Yes
ShowViewRectangle=No
_Enter
_SelNone _SelLast _Group 
_Cut _SetActiveViewport 
RIT _Paste _Move 0

-Pascal

Thanks Pascal but same thing happens;
Command: _-Make2d
Command: Pause
Change option or press Enter to accept ( Layout=View Properties=FromInputObjects CreateHiddenLines=Yes ShowTangents=No CreateSceneSilhouette=No CreateClippingPlaneIntersections=No ShowViewRectangle=No GroupOutput=Yes LayerName=RIT::Make2D ): Layout=View
Change option or press Enter to accept ( Layout=View Properties=FromInputObjects CreateHiddenLines=Yes ShowTangents=No CreateSceneSilhouette=No CreateClippingPlaneIntersections=No ShowViewRectangle=No GroupOutput=Yes LayerName=RIT::Make2D ): ShowTangentEdges=Yes
Unknown command: ShowTangentEdges=Yes
Change option or press Enter to accept ( Layout=View Properties=FromInputObjects CreateHiddenLines=Yes ShowTangents=No CreateSceneSilhouette=No CreateClippingPlaneIntersections=No ShowViewRectangle=No GroupOutput=Yes LayerName=RIT::Make2D ): CreateHiddenLines=Yes
Change option or press Enter to accept ( Layout=View Properties=FromInputObjects CreateHiddenLines=Yes ShowTangents=No CreateSceneSilhouette=No CreateClippingPlaneIntersections=No ShowViewRectangle=No GroupOutput=Yes LayerName=RIT::Make2D ): ShowViewRectangle=No
Change option or press Enter to accept ( Layout=View Properties=FromInputObjects CreateHiddenLines=Yes ShowTangents=No CreateSceneSilhouette=No CreateClippingPlaneIntersections=No ShowViewRectangle=No GroupOutput=Yes LayerName=RIT::Make2D ): _Enter
Change option or press Enter to accept ( Layout=View Properties=FromInputObjects CreateHiddenLines=Yes ShowTangents=No CreateSceneSilhouette=No CreateClippingPlaneIntersections=No ShowViewRectangle=No GroupOutput=Yes LayerName=RIT::Make2D )
View projection Press Esc to cancel: _SelNone
View projection Press Esc to cancel: _SelLast
View projection Press Esc to cancel: _Group
View projection Press Esc to cancel: _Cut
View projection Press Esc to cancel: _SetActiveViewport
View projection Press Esc to cancel: RIT
View projection Press Esc to cancel: _Paste
View projection Press Esc to cancel: _Move
View projection Press Esc to cancel: 0
Time to Make2D was 0,99 seconds

As you see the second part of the macro is trying to run while the drawing is processed and all the commands after _Enter are ignored.

Is there a way to automatically run a new command after the last command is finished?

Hello - this

works here from MacroEditor- I did have it wrong for ShowTangents initially but I fixed that above as well. BUT I only tried simple scenes that draw quickly, I’ll try a mode complex model.

-Pascal

Thanks but same thing happens! The second part of macro try to run in the same time as the make2d command is running and is ignored.
It seems like make2d command has been changed in R6 with the timeline and it is also possible to pan in the drawing window as the command runs. This was not possible in older versions

Hello - are you running this from MacroEditor?

-Pascal

No I run direct as an alias or make a button with the macro string in it.
When I tryied it in the MacroEditor same thing happend. I suppose MacroEditor is only a test platform to compose new macros? Or is it possible to “bake” them to something?
However I found a way to make it to work;
! _-Make2d Pause
Layout=View
Properties=FromInputObjects
CreateHiddenLines=Yes
ShowTangents=Yes
CreateSceneSilhouette=No
CreateClippingPlaneIntersections=Yes
ShowViewRectangle=No
GroupOutput=Yes
LayerName=Layer RIT::Make2D

_MultiPause

_SelNone _SelLast _Group
_Cut _SetActiveViewport
RIT _Paste _Move 0

A good new R6 thing is the option to group it within the command! It groups the line of every object to grouped 2D objects which makes it more easy to edit the 2Ddrawing. I preafer anyway to group the whole 2Dview to freely move it in the drawing paper.

Some strange thing with R6;s Make2D command is that the resulting drawing doesent appear in origo. It seems to appear randomly anywhere. Am I missing something?

Well, this is a consequence of the ‘register with previous’ capability introdued in V6 - there is still more adjustment to make for this, as you see but make sure that setting is Unchecked in the dialog or command line - that may work better.

-Pascal