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.
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?
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.