Document Properties.

David Matula
Posts: 74
Joined: Tue Mar 30, 2021 12:43 pm
Answers: 0
x 55
x 70

Document Properties.

Unread post by David Matula »

The age old question. Which document properties should be displayed in the drawing?

To show the weight of a part or assembly, to the correct decimal places, which document should determine the display.

I keep having to open the models and update the doc prop. of them to get the # to display correctly in the drawing. Then if that does not work,
then it is update the drawing properties.

Which set of properties should the program be looking at for the drawing? Should it be the drawing, the part or the assembly?
User avatar
jcapriotti
Posts: 1792
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 29
Location: The south
x 1132
x 1940

Re: Document Properties.

Unread post by jcapriotti »

If you link the note directly to the model via "Model found here - Drawing view found in sheet properties", then the model controls the number of decimal places.

If you need to override the model's decimal places for the weight, you can create a new custom property in the drawing's properties, and use the syntax from the model:

Add to custom property in drawing:
"SW-Mass@@Configuration Name@Filename.SLDPRT"

This will use the drawing's units value for "Mass Length" instead. The downside is if you rename the models configuration or filename, it breaks the link and shows the last calculated value with no error.
Jason
User avatar
bnemec
Posts: 1851
Joined: Tue Mar 09, 2021 9:22 am
Answers: 10
Location: Wisconsin USA
x 2436
x 1330

Re: Document Properties.

Unread post by bnemec »

jcapriotti wrote: Wed Aug 18, 2021 9:58 am If you link the note directly to the model via "Model found here - Drawing view found in sheet properties", then the model controls the number of decimal places.

If you need to override the model's decimal places for the weight, you can create a new custom property in the drawing's properties, and use the syntax from the model:

Add to custom property in drawing:
"SW-Mass@@Configuration Name@Filename.SLDPRT"

This will use the drawing's units value for "Mass Length" instead. The downside is if you rename the models configuration or filename,it breaks the link and shows the last calculated value with no error.
searching for "dull stick in the eye emoji"...

this one came up.
image.png
image.png (20.96 KiB) Viewed 744 times
In our usage this is a big enough problem to put this solution/workaround on the "Forbidden Practices" list.
User avatar
jcapriotti
Posts: 1792
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 29
Location: The south
x 1132
x 1940

Re: Document Properties.

Unread post by jcapriotti »

bnemec wrote: Wed Aug 18, 2021 11:13 am searching for "dull stick in the eye emoji"...

this one came up.
image.png

In our usage this is a big enough problem to put this solution/workaround on the "Forbidden Practices" list.
Yeah we don't normally do this either. Our filenames and configuration names rarely change once set, so the risk is minimal. I think this is a feature that happens to work, but wasn't really planned to be used this way. Which means there is no guarantee a future version won't break it, happened to us with equations years ago.
Jason
Post Reply