Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Renaming iLogicForms with iLogic

jeffstoffers
Participant

Renaming iLogicForms with iLogic

jeffstoffers
Participant
Participant

Hello,

 

  I'm wondering if it is possibly to rename an iLogicForm using iLogic? My initial searching makes it look like this might be very tricky or possibly impossible.

 

I'm using a plugin for furniture design, and I've created a set of components using the plugin that automatically create assemblies with nested assemblies inside controlled by ilogic forms. I have 2 issues.

 

First if there are multiple copies of the same component I want to see on the form name which copy of the component I'm editing. Second, it seems like you can only have one form with the same name open at a time.

 

I'm hoping someone can maybe point me in the right direction.

Thank you

0 Likes
Reply
242 Views
3 Replies
Replies (3)

WCrihfield
Mentor
Mentor

Hi @jeffstoffers.  There is currently no built-in or easy way to rename an iLogic form from an iLogic rule.  We only recently (in the last year or 2) found a way to delete all internal iLogic forms within an Inventor Document, and more recently, how to delete just one specific internal iLogic form from within an Inventor Document.  There may still be a way to rename one by code, but it would require some further research, and most likely some XML code editing.  I do not recall anyone asking for this ability before, so there may simply not be any research into a workaround way to do it, since there is no built-in iLogic way to do it.  But we just got the ability to Close iLogic forms by code in the 2024 release of Inventor, so maybe they will provide some additional iLogic functionality in a future release of Inventor.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes

jeffstoffers
Participant
Participant

@WCrihfieldthank you for the response. I had read the threads for deleting iLogic forms you are referencing and I was hoping that I was on the wrong track there.

 

I might try to find time to take a crack at it but I doubt I'll be able to find the time.

0 Likes

WCrihfield
Mentor
Mentor

I have been pretty busy at work too lately.  I quickly dabbled with it a bit earlier, and was able to change the name of an internal form, but somehow screwed up the form in the process, so I have more trial & error testing to do.  I suspect it needs to be changed within the regular form spec, and within the button spec for the forms tab.  I am not super familiar or fast at writing vb.net code for editing XML code, so I am learning as I go, when I find time.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes