Announcements
Due to scheduled maintenance, the Autodesk Community will be inaccessible from 10:00PM PDT on Oct 16th for approximately 1 hour. We appreciate your patience during this time.
Community
HSM Post Processor Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is it possible to prevent the model image from opening?

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
denis_q
720 Views, 5 Replies

Is it possible to prevent the model image from opening?

I'am using the keyword MODEL_IMAGE in the postprocessor.

But unfortunately it opens in standard app while postprocessing.

 

Is there a way to create the model image without open it automatically?

Labels (1)
5 REPLIES 5
Message 2 of 6
denis_q
in reply to: denis_q

Apparently the "Show JPEG after saving" checkbox in the SWX "Save As" dialog box is responsible for this.

Message 3 of 6
denis_q
in reply to: denis_q

Seems that the model image is saved to the path selected in post processing dialogue rather the path selected in the 'save as' dialogue. Further 'modelImagePath' only contains the filename of the image. How to get the full path of the image file generated with

keywords = "MODEL_IMAGE";

?

 

thank you

Message 4 of 6
denis_q
in reply to: denis_q

Solved by using AutoHotkey function RegRead to read key:

HKEY_CURRENT_USER\Software\HSMWorks\HSMWorks\ui\post process dialog

and value:

output folder

from registry.

 

Message 5 of 6
denis_q
in reply to: denis_q

Have tried the built in function:

hasRegistryValue("HKEY_CURRENT_USER\\Software\\HSMWorks\\HSMWorks\\ui\\post process dialog\\", "output folder")

but I get an error: 'Registry path is not supported'.

 

Any hints?

 

thank you

Message 6 of 6
denis_q
in reply to: denis_q

Got it. Seems that 'hasRegistryValue' and 'getRegistryString' are caseSensitive whereas registry itself is not.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report