give drawing same description as assembly

give drawing same description as assembly

Geertvdheide92
Enthusiast Enthusiast
786 Views
7 Replies
Message 1 of 8

give drawing same description as assembly

Geertvdheide92
Enthusiast
Enthusiast

Hello, 

 

I am trying to create a dwg template where the description of an assembly is the same as the description of the dwg. 

I know it is possible to get model properties in text boxes inside the dwg. 

But i cant get these properties in the dwg properties.

 

I was thinking op putting the code <DESCRIPTION> in the description box of the dwg, but it doesnt do anything. 

In text boxes i can choose property type and property. Can i also select a property type with <....> code?

 

kind regards

 

Geert van der Heide

0 Likes
Accepted solutions (2)
787 Views
7 Replies
Replies (7)
Message 2 of 8

Rob67ert
Collaborator
Collaborator
Accepted solution

Hi,
I use this in an iLogic code:
modelName = IO.Path.GetFileName(ThisDrawing.ModelDocument.FullFileName)
iProperties.Value("Project", "Description") = iProperties.Value(modelName, "Project", "Description")
iProperties.Value("Project", "Part Number") = iProperties.Value(modelName, "Project", "Part Number")
iProperties.Value("Project", "Project") = iProperties.Value(modelName, "Project", "Project")

Robert

If you find this reply helpful ? It would be nice if you use the Accept as Solution or Kudos button below.
0 Likes
Message 3 of 8

Geertvdheide92
Enthusiast
Enthusiast

this is working great, thanks!

 

But this isnt possible with a simple link, it looks like it is used in text boxes?

because the model properties should be somewhere in the dwg i guess, but i cant find them.

 

 

0 Likes
Message 4 of 8

bradeneuropeArthur
Mentor
Mentor

Hi,

 

You can do that without I logic:

 

Keep reading.....

 

Dwg prop.PNG

Define your template this way and you do not need coding....

 

If you need help please let me know.

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

Message 5 of 8

Rob67ert
Collaborator
Collaborator
I will put all the information i have in the iproperties of the part or assembly. Like the Description it should be the same for the part as for the drawing file I make from it.
I have some iLogic rule run automatically that will do all that work form me.
Robert

If you find this reply helpful ? It would be nice if you use the Accept as Solution or Kudos button below.
0 Likes
Message 6 of 8

Geertvdheide92
Enthusiast
Enthusiast

in my current template these settings are already set. 

But i can only get these properties in text boxes, and not in the dwg properties.

0 Likes
Message 7 of 8

bradeneuropeArthur
Mentor
Mentor
Accepted solution

They are in the drawing properties already when checked as seen in the picture.

 

the only action required is:

 

UpdateProp.PNG

 

 

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

Message 8 of 8

Geertvdheide92
Enthusiast
Enthusiast

Aha, i didnt know that button, 

Thank you very much!

0 Likes