Page 1 of 1

Document Properties.

Posted: Tue Aug 17, 2021 2:10 pm
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?

Re: Document Properties.

Posted: Wed Aug 18, 2021 9:58 am
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.

Re: Document Properties.

Posted: Wed Aug 18, 2021 11:13 am
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 1551 times
In our usage this is a big enough problem to put this solution/workaround on the "Forbidden Practices" list.

Re: Document Properties.

Posted: Wed Aug 18, 2021 11:32 am
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.