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: 

Save a document

1 REPLY 1
Reply
Message 1 of 2
Anonymous
166 Views, 1 Reply

Save a document

I am tring to use the following code to save
Set oDoc = oApp.ActiveDocument

Set oPropsets = oDoc.PropertySets



Set oNewPropertySet = oPropsets.Item("User Defined Properties")

Call oNewPropertySet.Add("Spring", "PartNumber", 2)

oDoc.Save

When i get to this point it brings up the window and makes me do a Save As to a new name

Any ideas?
Janice
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

I just pasted that into a VBA macro and changed oApp to Thisapplication and it ran fine.

--
Kent
Assistant Moderator
Autodesk Discussion Forum Moderator Program


"jat14" wrote in message news:f1780a4.-1@WebX.maYIadrTaRb...
> Have an addin registered and marked to load at startup
> When i go into Inventor in the addin manager i see the addin but it is not loaded. Will
not stay loaded
>
> Any ideas?
>

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

Post to forums  

Autodesk Design & Make Report