Limit Custom Property Length
Limit Custom Property Length
(OP)
We use a template that inserts the part name from the model into the title block.
This works fine most of the time, but sometimes we have parts that have really long names. If we don't catch it, Solidworks just prints over the next box of information.
Is there a way to limit a text box or custom property to just x characters or y length of typing?
This works fine most of the time, but sometimes we have parts that have really long names. If we don't catch it, Solidworks just prints over the next box of information.
Is there a way to limit a text box or custom property to just x characters or y length of typing?






RE: Limit Custom Property Length
i.e. Enter Edit Sheet Mode, double click the linked note, drag the corners of the box to fit within the title block field.
RE: Limit Custom Property Length
ie there's space for a 6 digit part number but I mistakenly put in an 8 digit number, the text will just expand downwards. Is there a way to limit it?
RE: Limit Custom Property Length
Resizing the text box doesn't always work, sometimes it doesn't stay put, and of course, when automating one always wants the part number centered vertically as well as horizontally.
A macro could to a part name length check for you.
And are you talking about part numbers or part names, aka descriptions?
TOP
CSWP, BSSE
www.engtran.com www.niswug.org
www.linkedin.com/in/engineeringtransport
Phenom IIx6 1100T = 8GB = FX1400 = XP64SP2 = SW2009SP3
"Node news is good news."
RE: Limit Custom Property Length
Even if someone were to try and type the date in like 11/23/2011 vs 11/23/11 could cause problems since the text box was sized to fit the latter.
For our descriptions, we have 4 single line properties. I had originally set our BOM's to grab just the first line of descrption text, that's why they're all single line, BOM tables won't take multiple lines.
I have added a "BOM Name" property now because, as it turns out, the first line is not often the most appropriate for using in the BOM table.
I was thinking of making the description a larger multiline box, which may help, but still wouldn't let me know if I have to shorten the description.