Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Inv7 - SAT & DWF export version

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
235 Views, 2 Replies

Inv7 - SAT & DWF export version

Hello,

API Operation: ThisApplication.ActiveDocument.SaveAs "C:\Temp\INV_TEST.SAT",
True

During SaveAs to SAT format, Inventor7 uses SAT7 format like a default.
In Inv6 it was possible to add registry value SaveACISVersion to proper SAT
version.
I try the same with Inv7 and it doesn't work.
Similar problem I have with DWF export from draft.
My VoloView2 sad: This DWF file is a newer version..bla, bla,bla....
DWF seams to be ver6 ?

So questions:
How to force Inv7 API to save in old SAT format ?
How to force Inv7 API to save in old DWF format ?

Regards,

Adam Wieczorek
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

Hm..., ok SAT registry settings runs well (thx Kent).
I was too fast. Just Inventor need to be restarted after registry change.
But DWF is still unsolved problem.

adam


"Adam Wieczorek" wrote in message
news:BFDDF99530CA6D37BD804555BF4F6BF0@in.WebX.maYIadrTaRb...
> Hello,
>
> API Operation: ThisApplication.ActiveDocument.SaveAs
"C:\Temp\INV_TEST.SAT",
> True
>
> During SaveAs to SAT format, Inventor7 uses SAT7 format like a default.
> In Inv6 it was possible to add registry value SaveACISVersion to proper
SAT
> version.
> I try the same with Inv7 and it doesn't work.
> Similar problem I have with DWF export from draft.
> My VoloView2 sad: This DWF file is a newer version..bla, bla,bla....
> DWF seams to be ver6 ?
>
> So questions:
> How to force Inv7 API to save in old SAT format ?
> How to force Inv7 API to save in old DWF format ?
>
> Regards,
>
> Adam Wieczorek
>
>
Message 3 of 3
Anonymous
in reply to: Anonymous

Atul asked me to forward this to the group:

Adam,

To save the DWF of a drawing sheet, you can use the sheet's DataIO object.
The resulting DWF will be in the "old" DWF format. See the following code
for details.

Dim oDoc as DrawingDocument

Dim oSheet As Inventor.Sheet
Dim oDataIO as DataIO

set oDoc = ThisApplication.ActiveDocument

Set oSheet = oDoc.Sheets(1)

Set oDataIO = apiSheet1.DataIO
Call oDataIO.WriteDataToFile("DWF", "c:\a.dwf")

Atul
Software developer
Autodesk Inventor API team


"Adam Wieczorek" wrote in message
news:3D0A69E1EECD9EFDD126ACD7BD1DA888@in.WebX.maYIadrTaRb...
> Hm..., ok SAT registry settings runs well (thx Kent).
> I was too fast. Just Inventor need to be restarted after registry change.
> But DWF is still unsolved problem.
>
> adam
>
>
> "Adam Wieczorek" wrote in message
> news:BFDDF99530CA6D37BD804555BF4F6BF0@in.WebX.maYIadrTaRb...
> > Hello,
> >
> > API Operation: ThisApplication.ActiveDocument.SaveAs
> "C:\Temp\INV_TEST.SAT",
> > True
> >
> > During SaveAs to SAT format, Inventor7 uses SAT7 format like a default.
> > In Inv6 it was possible to add registry value SaveACISVersion to proper
> SAT
> > version.
> > I try the same with Inv7 and it doesn't work.
> > Similar problem I have with DWF export from draft.
> > My VoloView2 sad: This DWF file is a newer version..bla, bla,bla....
> > DWF seams to be ver6 ?
> >
> > So questions:
> > How to force Inv7 API to save in old SAT format ?
> > How to force Inv7 API to save in old DWF format ?
> >
> > Regards,
> >
> > Adam Wieczorek
> >
> >
>
>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report