I'm looking for a way add the "Configuration name" in the custom property. Does anyone know if this is possible?
The system property for configuration name is "Configuration name"...
Type "SW-Configuration Name" in the custom property and you're good to go...!
There are a few others you can access as well...check out the help file...
Thanks for the help guys. I ended up needing to put $PRP:"SW-Configuration Name" in to make it work. One last question, do you guys know how to add the "Description" or "Comment" you enter in configuration properties as a custom property?
Glad you made it work. The $PRP prefix is typically used only when outside of the custom property dialog box...
As for adding/linking a property from the "configuration specific" tab over to the "custom" tab...the only way I can thing of (besides through a macro)...would be to use a work around envolving injection code into a equation like has been mentioned many times in the site (if you need a link let me know..). This work around isn't very easy though, and not very reliable (Josh, yes...as long as there's is no rebuild call...it's all good.. ).
I'm not sure if I'm understanding your question / problem correctly.
Where exactly do you want to type these custom properties?
Supply a screenshot if possible.
With all of them prefised by $PRPSHEET:"property name" the property name listed between the quotes.
In custom properties there is no need for the prefix "$PRP"...only in notes, bom, etc.
I know. I put it out there just incase someone wants to use if in another context.
and wonders why it isn't working. More info is never a bad thing.
I figured you knew...just though I'd throw it out there to be a little more specific/clear!
No problem. Just keeping each other honest!!!!
Nothing wrong with that.
Have a great night!!!
Just out of interest and Info,
I have just done this today in 2011,
I had the same issues as the OP.
Basically "SW-Configuration Name" did not work
"SW-Configuration Name"@Partnamehere.SLDPRT" did not work
However both of these work with others (mass/material etc)
within the Custom prop table i also had to use
to get it to work.
Thank you for this information but unfortunately
Please help.I urgently need custom "CustomPartNumber" property because it`s impossible to write expression for SW-Part Number as it is possible for custom property.
I'm trying to assign the toolbox part number to a custom property called "NumParte" for each toolbox item.
Unfortunately every code i tryied didn't work.
$PRP:"SW-BOM Part Number"
Using SW16 here.
I have found that "SW-Configuration Name" does nothing.
As suggested, $PRP:"SW-Configuration Name" will evaluate the current configuration in the Evaluated Value column. (Note that this text is case sensitive and will not work if written $PRP:"SW-CONFIGURATION NAME")
However, I have found that if this code is used and you try to link that property to a note in a drawing it will not pull the correct data. Instead it will pull the configuration name of the active configuration in the model, and not the configuration placed in the drawing. This is because the drawing evaluates $PRP:" " codes as sheet properties.
If, in the custom properties table, you write $PRPSHEET:"SW-Configuration Name" it will be evaluated exactly as $PRPSHEET:"SW-Configuration Name" in the evaluated value column. BUT, when you link a note in a drawing to that model property it will evaluate the configuration name of the model in the drawing in that note.
I hope this answers some questions.
Thanks Alex that sounds right to me. I'm running into this to where I have a table in my drawing and would like to pull all configuration names from an sldasm file but that code only lists the active configuration in the drawing view. I am more interested in how to display configuration specific properties in drawings in order to make parametric tabulated drawings for a large group of parts. I wish this was on Solidworks radar but I fear I will end up keying much data into data cards. Funny thing is they have a bom table for configs so even though that table is generally useless there is some way they are pulling those config names into the column headers. I wish there was more flexibility here I have not found a solution that I'm satisfied with yet.
Thanks Alex McCormick for clarifying $PRP vs. $PRPSHEET-you beat me to it! What I sometimes do is add a model view of a different configuration, or configurations outside the drawing border so I can create multiple BOM's, then I can call the custom properties from those other unseen models into the visible drawing.
I submitted this feature request for many of the missing tools we need for making tabulated drawings from configurations. I think it relates to this thread. Please review and vote on it by logging into your Solidworks Customer Support Portal and searching for the number above.
Retrieving data ...