As the screen capture shows, when populating custom property, the value looses the 'hyphen' or 'dash'.
Current: 1 1/16
Need: 1-1/16
Because eventually on shop drawings 1 1/16 can be read as 11/16 which is wrong.
Using SW 2019, this has been an issue in all previous versions.
************UPDATE*****************
I've been working with re-seller and SW. Please vote for this new SPR.
SOLIDWORKS has issued SPR # SPR 1150030 - "Ability to add or remove hyphen '-' between inches and fractional part of the number in custom properties.
******************************************
Also a dumb idea... Embed some code in a custom property and execute it with an equation.
Change the property names below to suit...
Link your dimension to custom property "frac"
Create a custom property called "Code" (or whatever you want)
Give it a value of "1".
Create custom property called "Dash". Value is unimportant now, but it must exist.
Create a global variable called "Dummy" or whatever. For its value, choose the custom property "Code".
Now, go back to properties and paste the following text into the "Code" custom property:
1
dim resval as string
dim val as string
part.extension.custompropertymanager("Default").get2 "frac", val, resval
part.custominfo2("Default","Dash") = replace(resval," ","-")
If you want the "Custom" properties, replace "Default" above with an emtpy string - just two quotes ("")
If you want some config other than "Default", change "Default" to another name.
To use different properties, just change "frac" and "Dash" to whatever you want.
Note that the custom property and config names are case-sensitive.