.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

is it possible to call the command "flatshot" without dialogue

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
andy_pu
894 Views, 2 Replies

is it possible to call the command "flatshot" without dialogue

Hi! Can I call flatshot with default parameters from command line оr .NET API? Without showing dialog

2 REPLIES 2
Message 2 of 3
StephenPreston
in reply to: andy_pu

Hi Andy,

 

the FLATSHOT command doesn't have a command line version (there is no -FLATSHOT variant of the command) and it still shows its dialog when the CMDDIA sysvar is set to 0. Therefore, i'm going to say that its not possible to silently invoke this command from the API. You could use Windows messages to send data to the dialog, but that is cumbersome at best. The only other option I see is to implement your own flattening routine that mimics FLATSHOT, but that is a lot of work.

Cheers,

Stephen Preston
Autodesk Developer Network
Message 3 of 3
andy_pu
in reply to: StephenPreston

Thank you so much for explanation!!!

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost