save button greyed out on Ilogic rule editor

save button greyed out on Ilogic rule editor

Robert_carlyon
Participant Participant
359 Views
3 Replies
Message 1 of 4

save button greyed out on Ilogic rule editor

Robert_carlyon
Participant
Participant

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.
0 Likes
360 Views
3 Replies
Replies (3)
Message 2 of 4

CattabianiI
Collaborator
Collaborator

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?

0 Likes
Message 3 of 4

Chris.Brough
Enthusiast
Enthusiast

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.

0 Likes
Message 4 of 4

mslosar
Advisor
Advisor

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.

0 Likes