cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

IsoDraw Macro & ctrl+K function?

JB99
1-Visitor

IsoDraw Macro & ctrl+K function?

I am trying to create a macro that does the same thing as the ctrl+k keystroke. I want to put this in another macro as one of the steps it completes. I have written this:

Macro Preview_on

#Defines variables.

#Changes the PREVIEW mode to "ON" Added 18OCT12

MESSAGE "Is PREVIEW on? -> " + app.window.preview

IF (app.window.preview <> 1) THEN

app.window.preview = 1

MESSAGE "Now PREVIEW is on"

END IF

End Macro

But this will not change the view of the object. I would think this is something simple that I am just overlooking. Any and all help will be greatly appreciated.

Keith Howard

2 REPLIES 2
thendricks
12-Amethyst
(To:JB99)

Try this.

Macro Preview_on

#Changes the PREVIEW mode to "ON"

MESSAGE "Is PREVIEW on? -> " + activedoc.window.preview

IF (activedoc.window.preview <> 1) THEN

activedoc.window.preview = 1

MESSAGE "Now PREVIEW is on"

END IF

End Macro

JB99
1-Visitor
(To:thendricks)

Thanks Trevor that did the trick!

Keith

Announcements


Top Tags