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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

is it possible a creaet Drawing with toolikt?

CHASEONHO
18-Opal

is it possible a creaet Drawing with toolikt?

Hi

 

is it possible to creaet a Drawing with toolkit?

if select a specific model, we get model name using ProMdlNameGet.

and model name will be fill a New Drawing File name.

 

and call dialog following picture.

 image 4.png

is it possible?

 

and can toolkit call a update sheets?

 

thanks

ACCEPTED SOLUTION

Accepted Solutions

Below is list of API:

 

  • ProDrawingFromTmpltCreate() to create drawing from template
  • ProDwgSheetRegenerate() for sheet update. Make sure you set all drawing sheet as current sheet one by one before calling API ProDwgSheetRegenerate().

- HIH

Ketan

View solution in original post

5 REPLIES 5

Below is list of API:

 

  • ProDrawingFromTmpltCreate() to create drawing from template
  • ProDwgSheetRegenerate() for sheet update. Make sure you set all drawing sheet as current sheet one by one before calling API ProDwgSheetRegenerate().

- HIH

Ketan

Thank you!

also you can call new drawing dialog with using ProMacroLoad()

 

Yes...But I personally dont prefer macro. I try to avoid it as much as possible.

why are you avoid using macro?

can you tell me?

There are certain limitations and expectations for the same. Please go through API description for both the API ProMacroLoad() and ProMacroExecute().

Announcements


Top Tags