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: 

Restrict Table Edits of iParts

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
dsouva
203 Views, 4 Replies

Restrict Table Edits of iParts

I was wondering if there is a good way (preferably through iLogic) to restrict the user from making table edits and force them to edit the excel file. Ideally, open the excel table instead of the table edit dialog. Any suggestions? 

Tags (2)
4 REPLIES 4
Message 2 of 5
A.Acheson
in reply to: dsouva

Hi @dsouva 

I don't think there is any method to prevent the user from editing excel only. I assume the user is modifying the iParts manually and not by code? What is the undesirable effect in not editing through the excel sheet?

 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
Message 3 of 5
dsouva
in reply to: dsouva

The excel sheet includes excel formulas with logical functions to calculate other values. 

Message 4 of 5
A.Acheson
in reply to: dsouva

There is a way using control definitions. 

 

ThisApplication.CommandManager.ControlDefinitions.Item("AppCreateipartCmd").Enabled = False

 

AAcheson_0-1666213191185.png

 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
Message 5 of 5
dsouva
in reply to: dsouva

@A.Acheson works perfectly! Thanks!

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

Post to forums  

Technology Administrators


Autodesk Design & Make Report