Hi everyone,
I creat a global variable ''L'' for Length, I would like this ''L'' can be display in custom property and can be modified, how to do it ?
SolidworksParts And Features
Hi everyone,
I creat a global variable ''L'' for Length, I would like this ''L'' can be display in custom property and can be modified, how to do it ?
SolidworksParts And Features
You can have a custom property linked to a global variable (click as shown below and global variables will the in the drop-down list), but I don't believe you can edit them from the custom property.
you would need to use this syntax in the value box. "$VALUE@"Global Variable Name Here"@equations".
You only need to replace the text:
Global Variable Name Here
"$VALUE@"L"@equations"
Check out this post: https://forum.solidworks.com/thread/115171
If Custom Property linked to Global Variable, the only way to change the Custom Property is to change Global Variable.
And vice versa.
That applies to linking in a design table. It's very easy to link a global variable to a custom property in the custom property dialog box, as I showed. The person who posted the question didn't say anything about design tables.
whether he mentioned design table to not, this is a solution he can use. Forgive me, I used the wrong syntax without using a design table.
without a design table, the syntax would be L@Part1.SLDPRT
L = the global variable
Part1 = the name of the file you are using.