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 button greyed out on Ilogic rule editor

3 REPLIES 3
Reply
Message 1 of 4
Robert_carlyon
220 Views, 3 Replies

save button greyed out on Ilogic rule editor

this is my rule thus far

 

Dim hor_deg As Integer
Dim ver_deg As Integer

For hor_deg = 1 To 45 Step 1
	Parameter("hor_angle") = hor_deg
	For ver_deg = 1 To 45 Step 1
		Parameter("ver_angle") = ver_deg
		InventorVb.DocumentUpdate()
	Next ver_deg
Next hor_deg

Parameter("hor_angle") = 1
Parameter("ver_angle") = 1
InventorVb.DocumentUpdate()


but for some reason it won't let me save my rule at all. It gives me a notification that
there was an error in saving my last rule. However, it doesn't tell me what the error was at all.
3 REPLIES 3
Message 2 of 4

Some things you could check:
Inventor version? Is up to date?
Is the file migrated?
Is the file new or has it already been saved on disk?
Do you have model states?
Do you have substitute model state? 
In which model state are you trying to save the rule?

Message 3 of 4

The one time this happened to us, I realized the ilogic file was in vault and not checked out, effectively making it read only.  Once checked out it was then able to be saved.

Tags (2)
Message 4 of 4
mslosar
in reply to: Robert_carlyon

If it's an external rule, you'll need to check the file in windows and make sure the read only option isn't sent. Vault toggles this on/off based on whether the file is checked out, but it is possible even if you aren't using vault that something else could toggle the setting.

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

Post to forums  

Autodesk Design & Make Report