Change ReadOnly in Form with iLogic

Change ReadOnly in Form with iLogic

Anonymous
Not applicable
600 Views
4 Replies
Message 1 of 5

Change ReadOnly in Form with iLogic

Anonymous
Not applicable

     I have a bunch of components that have forms in them. Not global forms, but forms in the document. I would like to replace these forms via ilogic with a new version. The intent is to iterate over the documents and subdocuments and check the value of an iproperty. if iprop value = x then delete embedded form/s, and copy new from this template... We have a system of components driven by forms, for example, a glass part contains a form called "glass definition" that is supposed to interact with the part ion specific ways. as this part gets copied and made into new versions, the forms get "tweaked" over time. This is BAD.... I need to be able to go into an assembly and reform (pun intended) the "tweaked" forms back to a consistent interface. I cant open every part and delete, copy, & paste. I only have a couple of thousand suspect parts... Thanks in advance for whatever help you can Provide!

 

Thanks,

 

Tom Ruscher 

0 Likes
601 Views
4 Replies
Replies (4)
Message 2 of 5

wayne.brill
Collaborator
Collaborator

Hi Tom,

 

I do not see a way to automate this and asked a colleague in Inventor Engineering about this. Here is an excerpt of their reply:

 

>> >>

The API doesn’t provide functions to copy forms.

 

But it sounds like global forms might be a better solution in this case, because he hasn’t said that he needs a different form in each part.

<< <<

 

You could request this on the Inventor Idea station:

 

http://forums.autodesk.com/t5/inventor-ideastation/idb-p/v1232/tab/most-recent

 

Thanks,

Wayne

 



Wayne Brill
Developer Technical Services
Autodesk Developer Network

0 Likes
Message 3 of 5

Anonymous
Not applicable

Well, unfortunately, I do need different forms based on class on part... So there is no way do this? 

0 Likes
Message 4 of 5

wayne.brill
Collaborator
Collaborator

Hi,

 

Yes this statement was from the Engineer who was the main architect and developer on iLogic:

"The API doesn’t provide functions to copy forms"

 

So currently there is not a way to do this.

 

Thanks,

Wayne



Wayne Brill
Developer Technical Services
Autodesk Developer Network

0 Likes
Message 5 of 5

Curtis_Waguespack
Consultant
Consultant

@Anonymous wrote:

Well, unfortunately, I do need different forms based on class on part... So there is no way do this? 


Hi truscher,

 

So would you not just create different global forms for this then? 

 

It sounds like external rules and global forms are the correct long term solution for you.

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

EESignature

0 Likes