Hello all,
I am currently looking for a solution to a custom property issue shared between a model and attached drawing. Recently, a customer has requested that we change the filenames of both the part and drawing to include a page number and revision number as so : XXX-XXXXXX,XX,RXX. This however does not agree with our drawings, which currently display the filename as: XXX-XXXXXX. These filenames are typically produced from the SW-File Name of the part. I was hoping to find a way to display the first characters of this property, either with another custom property or via API, and have found no solutions. Any help would be appreciated.
Thanks
SolidworksDrawings And Detailing
Tom,
That is absolutely possible. We do it here. We string the part number and the revision
in one string
This is what it looks like
When you start you note just hit the link to property
Do this as many times as you need to and you will have what you are looking for all in one note.
Unfortunately, that is the opposite of what I'm looking for, I want to trim a property, not join properties.
I want to reference a long string filename, but have it show up as a partial on my drawings.
Thanks though.
Gotcha, unfortunately I think the only way is to create another custom property
with this truncated file name.
The only other way I can think of to possible do it would be to write some kind of macro
or some program through API. I don't know API so I can't help you on that end.
You might need to look at this Custom Property help
Works just fine. Thanks all.