Is it Possible to define a multi-line value (value with line break) in custom property tab builder?
For example,
When the user choose Option 2, I want to create a custom property with value
ABC
DEF
GHI
I understand that i can create the line break manually using ALT+010 when i defining the value manually in custom property, but this does not seem to work in custom property tab builder....
Is there any way to create multi-line value when using custom property tab builder?
The only workaround that i can think of now is to create a "Dummy" property manually (with line break) in the part template and have the value of Option 2 linked to the "Dummy" property when selected...
This will get messy if the user did not start the part with the part template but decide to use the custom property tab created...
PS: Solidwork 2016
SolidworksGeneral
Revisiting again
A more elegant solution is too update the .XXXPRP file using notepad and include the linebreak directly in the xml code using
I revisited this recently and the linefeed method work... although not as perfect as i like and i had to defined the LF property in the part/asm template, but its better than nothing
Thanks.
Thanks for all the input, the LF trick and linking to excel is really interesting approach, i will give it a try
The linefeed trick works. With a major issue. Linked drawing notes won't update if you change the property value in the property tab builder. Well they do if you double click them. However if you change the property in the standard input window then the notes and properties will change as intended.
To summarize. I found the property tab functions not reliable in 2016. Use with caution.
You can create a custom property and link it to 3 other prop's like $PRP:"Prop1"
$PRP:"Prop2"
$PRP:"Prop3"
That will force the line break but it means you need to enter three values instead of one. Not really a good solution. The property tab of 2016 behaved very different then the regular property user form. I remember that I used both depending on the task. But most of the time I used (and still do) the original user form. Your best bet is to teach your staff to use either Notepad with copy & paste or the Alt+ Keyboard shortcut.
One thing you could try. Instead of hard coding your drop down list, link it to a spreadsheet instead. Add your line breaks in the cell and see if it populates into SW. Worth a try.
one other thing…Insert a custom property LF and add the linefeed character. Then concatenate your custom properties as shown. SW will evaluate the LF.
See if you can add the string ABC $PRP:"LF" DEF $PRP:"LF" GHI in property tab template. If you are lucky SW might do that without complaining about the special character
I would try it another way. Keep your pick list as is but change the multiline entry from ABC DEF GHI to ABC-+-DEF-+-GHI
Put yourself a macro together (plenty of sources here) that reads all properties and replaces "-+-" with a carriage return. This is really fast & robust.
Lets you automate it and can be easily incorporated.
bumping this up again as i cant seem to find any feasible workaround after 1 weeks...