Persistent Face Reference Key for Sat Export

Persistent Face Reference Key for Sat Export

Anonymous
Not applicable
371 Views
2 Replies
Message 1 of 3

Persistent Face Reference Key for Sat Export

Anonymous
Not applicable
Hi Sanjay, Brian,

I have a third party application that I need to dump a sat file for.
However I also need to Identify a key model face for the app.
Is there a way to permenently mark a face that would be embedded in the sat?

Something on the order of giving the selected face a Name.

Cheers,
0 Likes
372 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Tom,

There currently isn't a way to assign custom attributes to entities that
will show up in the exported SAT file. The API provides a way to export to
SAT with 'Transient Keys' attached to entities (see sample code below).
These transient keys are accessed using the TransientKey property on the
entities. See if you can leverage that in any way.

Sub OutputSAT()

Dim odoc As PartDocument
Set odoc = ThisApplication.ActiveDocument

Dim oSurfaceBody As SurfaceBody
Set oSurfaceBody = odoc.ComponentDefinition.SurfaceBodies(1)

Call oSurfaceBody.DataIO.WriteDataToFile("ACIS SAT with TransientKeys",
"c:\temp\testblock.sat")

End Sub

Sanjay-


wrote in message news:5201648@discussion.autodesk.com...
Hi Sanjay, Brian,

I have a third party application that I need to dump a sat file for.
However I also need to Identify a key model face for the app.
Is there a way to permenently mark a face that would be embedded in the sat?

Something on the order of giving the selected face a Name.

Cheers,
0 Likes
Message 3 of 3

Anonymous
Not applicable
Thanks Sanjay,

I worked something out involving a loose surface.
0 Likes