Hi everyone,
How to create a common parameter database that can be accessed by all the inventor files through ilogic or somehow?
For example, creating a dimension parameters database and accessing those parameters through the code in an application.
Kindly help me on this query.
Thanks,
Khizam
What's the difference between accessing parameter through a database ((filename, model state name, parameter name) would be the key, I think) and through inventor document object? What's your pourpose?
Anyway you could leverage ModelingEvents.OnNewParameter / OnParameterChange to store the parameters in your database.
And for such a simple database I would recommend SQLite, but internet is a better place to look for this answer.
I will explain the use case,
say for example, I have a dimension parameter (InletDiameter = 10 in). I want to use this parameter in multiple inventor models instead of recreating it every time in each model and the value 10in may change at some circumstances, at that time I don't want to open each model and change the parameter value, instead changing the value in the database has to reflect on all the models.
Can't find what you're looking for? Ask the community or share your knowledge.