Save a ipt to step using iLogic

Save a ipt to step using iLogic

Anonymous
Not applicable
589 Views
2 Replies
Message 1 of 3

Save a ipt to step using iLogic

Anonymous
Not applicable

Hi,

 

can someone tell me, if its posible to export (save) a step datai, using iLogic?

I have a assembly, and i want one part of that assembly to save as step.

 

Tnaks!

0 Likes
590 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
'get the part
part = Component.InventorComponent("componentname")
'open the part
doc = ThisApplication.Documents.Open(part.Definition.Document.FullDocumentName)
' save the part as step
doc.SaveAs("C:\temp\mystep.stp" , True)
' close the part
doc.Close()
0 Likes
Message 3 of 3

Anonymous
Not applicable

thaks

it woks!!!

 

🙂

0 Likes