Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hi Team,
Greetings,
I am working on the code for drawing to add flat pattern view, please help me on this. Api/ code anything would be appreciated..
Thanks in advance
Abdul
This may not be exactky what you're looking for, but I Create a template files with the flat view already in it, then use toolkit to create a drawing using that template. I have a templates for TOP, FRONT, AND RIGHT as the view of the flat that the user can select from.
If I need a flat view - I have a mapkey to create one, and then do other stuff - create or open a drawing and export it as dxf, etc.
Perhaps it is a solution for you.
map key again , we are diverting away from Programming..but i need through program.
That means you are creating views for the flat pattern instance not for the original one. i need the basic views( unbended version) first and then flat veiw
See here:
I have provided a code that works for me.
I simply click one button (I've got two buttons - one if there is and a second if there is no flat view set ) - and dxf is generated.
See what you can do with it.
Cheers!