Updating iproperties of Part / Assembly from Drawing itself

Updating iproperties of Part / Assembly from Drawing itself

Anonymous
Not applicable
834 Views
3 Replies
Message 1 of 4

Updating iproperties of Part / Assembly from Drawing itself

Anonymous
Not applicable

Hi Experts,

 

I've been looking for a simple ilogic code to change iproperty of any part or an Assembly from Drawing without opening models.

 

Titleblock is getting data from models, so basically aim is to update titleblock directly from drawing without opening part / assembly model. 

 

Could any of you please help me to make fairly simple code to update iproperty (Say Project name, Company or Title) of Part / Assembly directly from drawing without opening those models.

I believe this ain't be the new question, I'm sure somebody would have solved this in this forum. If anyone could drag me to that solution then also that'd be appreciated.

 

@Ralf_Krieg @WCrihfield @J-Camper @A.Acheson @dutt.thakar 

 

Thanks in advance ! 🙂

0 Likes
835 Views
3 Replies
Replies (3)
Message 2 of 4

A.Acheson
Mentor
Mentor

A flexible method. Simply reverse the ilogic iproperties.

 

https://adndevblog.typepad.com/manufacturing/2018/04/copy-model-iproperties-to-drawing-document-via-...

 

Here is global form and rule with bio directional rule to push and pull the iproperties from drawing to model. I use this. 

http://blog.ads-sol.com/2015/04/edit-iproperties-with-global-forms.html?m=1

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes
Message 3 of 4

Ralf_Krieg
Advisor
Advisor

Hello

 

Maybe I missunderstood, but to me it sounds like you have inserted iPropertys of your model to your titleblock and want to edit/change this iProperty without opening the model visible.

You can access the model iProperties in the model browser.

model_iProp_in_titleblock.jpg


R. Krieg
RKW Solutions
www.rkw-solutions.com
0 Likes
Message 4 of 4

WCrihfield
Mentor
Mentor

Hi @Anonymous.  I generally use the same process as what @Ralf_Krieg posted, because it is the quickest and simplest way to do it manually, without code.  If that isn't what you were hoping for, and you would still prefer an iLogic based solution, then can you be a little more detailed about exactly what you are expecting in the solution?  Do you need to have a form pop-up to allow you to manually edit the iProperties of the model document, or do you just want a one click tool that will simply copy a specific few drawing document iProperty values to the model, or something else?

 

I have several rules that deal with iProperties between drawing and model, but they are mostly specific to my needs.  One simply copies all custom iProperties from the model over to the drawing document, so they are available to my linked notes and custom sketched symbols.  Another rule compares the 'Title' and 'Description' iProperty values between the drawing and the model, to see if they are different before the drawing is saved, and offers options for what I may want to do about the difference (copy from drawing to model, copy from model to drawing, or do nothing).

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes