Revision History/ Field Header from a VBA Rule/or Form

Hello

I'm looking for a way to allow after opening a .idw under Inventor, to modify parameters such as "Title", "Verification date", "Client" from an Ilogic interface (forms or rule).

I tried thanks to the ipropritées, which you can directly insert in a form but it doesn't modify the texts on the sheet only in the properties tab of the .idw.

Modification by variable such as x=... And I put x in the text box is not recognized either the x written in the box is considered as text and not variable even if declaring it as a parameter.

Thank you in advance to the people who will take the time to read.


sans_titre2.jpg

Hello

Did you use "x" quotation marks before and after the variable names?

See here:

http://help.autodesk.com/view/INVNTOR/2014/ENU/?guid=GUID-FBCC3019-9CDF-4F36-A241-ACCF2FA8CA20

http://help.autodesk.com/view/INVNTOR/2014/ENU/?guid=GUID-5A4A6162-8C08-460B-867F-609C9F91EAB1

 

Yes, the problem doesn't come from my variables well I think, it's the fact that the.idw doesn't recognize these variables if have written x or "x" in a box for example title, and well even if x is "foo" as a parameter on the sheet x will remain x.

And for iproperties, it changes well in the properties of the sheet but not on the sheet.


3.jpg

A priori the problem is the same as here and they propose a solution:

http://forums.autodesk.com/t5/inventor-general-discussion/update-drawing-properties-from-model-iproperties-automatically/td-p/3078328

See also:

http://knowledge.autodesk.com/support/vault-products/learn-explore/caas/CloudHelp/cloudhelp/2014/FRA/Vault/files/GUID-11A427DB-701F-4C81-9EB2-F6E732EBBC11-htm.html

http://beinginventive.typepad.com/being-inventive/2012/11/update-automatically-drawing-properties-from-model-iproperties-.html

 

1 Like

Indeed this partly corresponds to my problem, I still have the field table to fill in too.

I'm testing all this and would fix the problem if it's ok.

(Your last link looks the best to me).

2 Likes

Hi everyone,

Basically, if I understood correctly, when you create a plan of a part, you would like inventor to ask you what name to put in description, ref clue...
For the company I work for, I created a very specific drawing:

Like as soon as I ask for a plan, he goes to look for the data in the room's property, on top of that, a window opens and asks me for the material, the revision index, the treatment, the size.

If it's making a custom-made cartridge I can help. 

 

1 Like

Hello

I managed to do what I wanted:

For people who would be interested, I went through the personalized properties.

I created the parameters  to modify by right-clicking on my room and then iproperty --> custom

Then in the style editor for the revision table or by right-clicking on the title block --> modify I inserted these personal properties in the table/title block.

And finally to make them editable when opening I created a form with these Iprops.

(Which is displayed at the opening with a rule and triggering event)

 

However, because yes, nothing is ever all rosy :).

I can only modify the first row of my revision table with this method, or I haven't yet found how to change the entry line (not manually), otherwise if the user rewrites it will just overwrite the data from before.

Solutions?


5.jpg

Well, in this case, I'm going to close, thank you for your answers and too bad for the last question.

Good luck to you.