Ilogic - how to Export Flat Pattern to .SAT

Ilogic - how to Export Flat Pattern to .SAT

yvandelafontaine
Advocate Advocate
698 Views
2 Replies
Message 1 of 3

Ilogic - how to Export Flat Pattern to .SAT

yvandelafontaine
Advocate
Advocate

I know how to export a flat pattern as a DXF with ilogic, but how do i export a flat pattern as a SAT file with ilogic?

Everything i tried give me the folded version of it, i need the flat pattern of it...

I have tried DATAIO, oDoc.SaveAs, Any help would be greatly appreciated...

PS: i did try to use flatpattern.edit before saving but it did not change anything...

0 Likes
Accepted solutions (2)
699 Views
2 Replies
Replies (2)
Message 2 of 3

JhoelForshav
Mentor
Mentor
Accepted solution

Hi @yvandelafontaine,

You can use the DataIO from the flatpatterns body.

This code assumes that you run it from a part and the part has a flatpattern.

Dim oDoc As PartDocument = ThisDoc.Document
Dim oDef As SheetMetalComponentDefinition = oDoc.ComponentDefinition
oDef.FlatPattern.Body.DataIO.WriteDataToFile("ACIS SAT", "C:\Users\hfljf\Desktop\SAT_TEST\satfile.sat") 'Your path and filename

Just replace my save location to a location that exists in your system 🙂

Message 3 of 3

yvandelafontaine
Advocate
Advocate
Accepted solution

Thank you, it work, actually i found the same solution while you posted.

I was missing the ".body." part

0 Likes