We have recently migrated our production work to Autodesk Invetor. We have a condition or rather a requirement to constantly keep a check on the iProperties of a part while in an Assembly file.
So I thought the best way to do so is to have a form which float's in one of the corners of the screen and updates the fields based on the item selected. Is this possible?
We mostly have parts one level below the assembly, occassionally we have them as a sub-assembly. We do not have any more levels ( hope I am using the right terms )
Any help is much appreciated. Thank you.
Hum not understanding.
Why do you need to watch an iproperty? They don't change unless you are leaving something out in your description of your needs..
We have a couple of custom properties that need to be filled out for the part drawing to be of any use to us. So if there is a persistent form while displays empty cells that will force the user to enter values in it. Also one of the important one is the length of the part. It is the length of a dimensioned sketch which shows up in parameters and hence checked out for export. There are times that the sketch does not update accurately and hence the length in custom iproperties shows up incorrectly. We need that length to show accurately so that the bar legnths get cut to the right size prior to processing using the step files from Inventor.
I hope I have been able to explain myself and not confuse anyone.
Hope you have a solution for me.
The length you speak of is this a symbol or text within a BOM or title block?
Sorry for the late reply.
The length that I am talking about is the length of a part which is extruded. It is a driven dimension which updates if the part is stretched. In most cases it works fine but at times the sketch doesn't updated (for whatever reason) and hence if the user can see that the length field looks incorrect or is empty then will take adequate action to fix the issue.
The above is to reply to your question but my question still remains unanswered.......... How to create a persistent form that updates with data from the selected part.
>There are times that the sketch does not update accurately and
>hence the length in custom iproperties shows up incorrectly.
You may initiate assembly “Rebuild All” from the iLogic Rule in the top assembly document. Executing this rule just before saving assembly should help you have always updated sketches and hence updated lengths in parameters and in iProperties.
Code of the RebuilsAll rule for assembly document:
'=== Assembly Rebuild All === ' reference to CommandManager Dim oCommandMgr As CommandManager = ThisApplication.CommandManager ' command definition: Assembly Rebuild All Dim oControlDef As ControlDefinition = oCommandMgr _ .ControlDefinitions.Item("AssemblyRebuildAllCmd") Call oControlDef.Execute ' execution Beep 'you may remove this line
Can we have a quick properties (AutoCAD) like form which updates when a part is selected in an assembly? I still see the potential for that in our method of work and would like to implement it using iLogic if possible.
Hope you can help with this one.
I am afraid you have to turn to Inventor API because iLogic seems no event for selection.
In addition, Inventor has not [quick properties]. With Inventor API, you can have the events SelectEventsSink.OnSelect or SelectEventsSink.OnPreSelect ,where, you may be able to pop out a modeless dialog to show the properties of the parts,