Add missing properties when copying form

Add missing properties when copying form

christian.roy7TG6G
Participant Participant
349 Views
1 Reply
Message 1 of 2

Add missing properties when copying form

christian.roy7TG6G
Participant
Participant

Hi everybody

We updated some forms we are using and we need to copy from a "donor" part to "receiving" part. My issue is the new form asks for custom properties that are not present in the "receiving" part. When opening the form in the receiving part, some fields aren't accessible and the field description gets a strikethrough.  We can fix that by going to the part properties and manually adding the custom property that the form is requesting.

 

I've done a rule to add a specific custom property to the part file if it's not present but I would like to create a rule that goes over every parameter in the form and create that property if it's missing.

 

Do you guys have any idea how to do that?

 

Bonus points for making that automatic when copying a form from one part to another.

0 Likes
Accepted solutions (1)
350 Views
1 Reply
Reply (1)
Message 2 of 2

WCrihfield
Mentor
Mentor
Accepted solution

Hi @christian.roy7TG6G.  Unfortunately, I do not think we have that ability yet.  We have very little control over an iLogic Form from an iLogic rule, other than to show the form and get a very basic response of how it was closed (OK button, Cancel, clicked rule button, etc).  I have seen advanced, complex ways of digging into the specifications of iLogic forms, but there is no established or normal way to do it.  We would have more control over a form, if we actually created it by code, like a regular System.Windows.Forms.Form type object, which is possible to do, but also pretty advanced & complicated.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes