V8I VBA

Can you safely run a Macro without having to have the Last line read CommandState.StartDefaultCommand

This was only for an example, not for an actual VBA Macro. I see that CommandState.StartDefaultCommand at the bottom of the different Macros, but I really do not always want to go back to the default command if something else is already active. Sorry if this is a poor question, but I do have a reason. I know how to load the Element Selection when I need it, but do not always like going back to that command?

 

Short Example: 1

Sub Macro002()
    ' 092813 - Testing running a Macro from this macro. It sets Level 7, Then Place Cloud
    '
   
    Dim startPoint As Point3d
    Dim point As Point3d, point2 As Point3d
    Dim lngTemp As Long

 

'   Start a command 

    CadInputQueue.SendCommand "place revcloud points"
    CommandState.StartDefaultCommand

End Sub

Would it be ok to comment out the last line as in Example: 2

Sub Macro002()
    ' 092813 - Testing running a Macro from this macro. It sets Level 7, Then Place Cloud
    '
   
    Dim startPoint As Point3d
    Dim point As Point3d, point2 As Point3d
    Dim lngTemp As Long

'   Run SetLevel 7 Macro First ActiveLayerSet7 Use No ()
   

'   Start a command Added Level Command and Color Command then the Revcloud
ActiveLayerSet7

    CadInputQueue.SendCommand "place revcloud points"
   ' CommandState.StartDefaultCommand
End Sub