cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API event before user adds row to an IPart/IAssembly Factory

API event before user adds row to an IPart/IAssembly Factory

I could use an event to handle the creation of rows by users in the IFatory Tables.
Inventor creates entire copies each row if the user adds a new one. Based on some custom business rules I need clear some values or edit them.

 

Unfortunately, there is no event to handle this. The event OnGenerateMember is way too late.
In addition, the event OnDocumentChange is not useful in my case. The rows of IFactory are not indexed or unique. Simple sorting using the excel spreadsheet can affect the entire business logic in a bad way.
Therefore, I could use an “OnTableRowCreated” event on the “ModelingEvents” to handle things my way.
Event Args could be the row, which will be created, a context like “from spreadsheet” (or something similar) and maybe a cancel to prevent the row from being created.

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

Submit Idea