Hello all SolidWorks Guru's, so I've been doing some piping assemblies and after defining my spools and creating a spool drawing (which are generated using the different display states created by solidworks). I would like to have the spool name auto populate into the SPOOL NO. section of my sheet format but i cannot figure out a property to link it to or whatever has to be done. I've attached a recent project of mine for example. Anyways each sheet only has one view on it and that view is its own display state so I'm wondering if i can get the display state to auto populate into the SPOOL NO. box as I'm tired of manually entering these every time when SolidWorks has already set it apart by giving it it's own display state. If anyone has suggestions for me I'm all ears.
Thanks!!
Tyson.
SolidworksRouting
Will this solve your problem? 2016 SOLIDWORKS Help - Assigning Custom Properties to Route Parts
If you get the route name into a custom property, you can add that custom property of your part to a text box in your drawing.
I looked at your model, but I really don't know how routing works.
You may get better results posting this in the Routing forum, as it really seems to be a "Routing" issue more than it is a "Drawing" issue, to me.
unfortunalty there is no "Display State" Custom Property to link it to as far as i can tell
, while there may not be a property you can simply link to for the display state you can build your own Custom Property and link to that which I believe is where was going.
Since you can make the custom property "Configuration Specific" you would also be able to set them for each configuration. I know it's a work-around but currently it's the best we have ...
If there is a way, I'd really like to know if you can link display state to the title block?
Are you using Custom Property Tab Builder to control the part or assembly custom properties? If you are it is very easy to add the Spool No as another custom property, so if you have a custom property called SPOOL NO. then in the drawing you need to read that information from the part or assembly file, by typing
$PRPSHEET:"SPOOL NO." and that will return the Spool Number value that you have typed into the Custom Properties... These names must match 100% including spaces and anything else like a period etc..
If you are using 2014 make sure you don't have any underscores in your Custom Properties names. I created templates with underscores in the custom property names and it was a huge mess. I think they fixed it, but I don't know which version has the fix.
Im currently on 2017 and i think its fixed.. lol
So how exactly do I assign the spools to spool number through the configuration specific side of things as my assembly only actually has one configuration but multiple display states. As far as I can understand it, when you define a spool SW is actually just grouping all those components into its own display state and thus suppressing all the others that aren't included in said spool. as you can see from the screen shot below there is only one configuration to work with. I may just be horribly confused but I don't understand how to link my 4 spool numbers individually...
Thanks for putting up with me again . you helped me a while back when i was first getting into custom properties... that was a painful journey at the start haha. Such an awful work flow i had going before
You could have a Drawing Property where you'd manually enter the display state name so it would populate the title block in each sheet of the drawing, but I don't believe there's any way for you to have that parametric. I'm normally one of the biggest proponents of using display states instead of configurations, but this is one disadvantage.
If this is something you'll be doing often you might want to consider suppressing parts in configurations instead of hiding them with display states, and then have the note in the drawing linked to the configuration name, or some other configuration specific property. If you do decide to go that route I'd encourage you to be careful that you don't mate components to other components that will be suppressed in some configurations since suppressing the component will also suppress the mate.
I guess thats an option but at the point of that much manual intervention its just as easy to change the names manually in the drawings like i have been doing
Always glad to help, it comes back you know...
Just thinking that does routings maybe he can chime in here and give you a hand..
I would have spoken up earlier wasn't it for the fact that this discussion started on the same day as my vacation
Tyson,
I revisited the 'spool' functionality in the project before the one I'm working on now.
It has come a long way but there's still issues with it. For one thing it has the tendency to sometimes, not always, adding pipes or fittings to a spool which shouldn't be included while removing ones that should be. This meant I had a couple of spools that I had to edit every time that I opened the ASM even if just to add a note to the DRW. Luckily the project in question was only a small project with only 6 distinct routes.
Never the less, I got tired of it pretty quick.
The second thing I noticed is that it indeed makes display states that aren't linked to individual configuration states. Which means that there just doesn't seem to be a easy manner to link a property to the spool.
Perhaps best to ask one of the API guru's about it. Artem Taturevych for instance made a macro at one point . See :
Perhaps he or the high guru of them all, Deepak Gupta , came come up with something that would help you out.
Sorry for the late response but Glenn has explained it very well as usual. I would agree that it may end up being more work than the routing itself creates and the biggest downside is the loss of any parametric link.
In the end, I guess we'll just have to hope that one of these ER's gets us a custom property that we can link to ...
Hi.
I'm not familiar with the routing tools and i don't know how you are making drawings. If it is done manually or there is some sort of automation. Where the display state names come form? Is there possibility to assign them as a drawing sheet names?
You could link the sheet name to SPOOL NO. box.
I haven't had much for issues in regards to defining spools and having solid works mess them up like your saying fortunately. I do spool and drawings everyday all day so I'm very lucky to not have run into that. I have however never messed around with API's and thats a whole world that i know i should learn about but am desperately trying to avoid it lol.
Thanks for the help
There is an automation, if you right click on your assembly (in the design tree) that contains your routing and such and select the option that says "Define Spools". then go through the steps it outlines by selecting your route segments and giving a name to the spool. repeat this step for as many spools you have. Once all spools have been defined, right click your assembly again (in the design tree) and select Pipe Drawing. This should open your routing subassembly in a new window. on the left had side select all your spools you'd like to be inserted into a drawing. **note the default display state is just a complete overview of the assembly** you must shift click these assemblies the select the desired ones. now keep reading down that menu on the right side and select the option that gives each display state its own SHEET not Drawing. this will give you one single drawing file with each spool on its own sheet. if you have any other questions just hit me up or do a quick Google search of Solid Works piping drawings.
Hi.
As i can't write macros from the scratch i just took one of the macros and modified it a little bit.
Macro is going through all sheets and reading display states and rename each sheet with coresponding display state.
Now if you modify your drawing template and link SPOOL No. in the tittle block with sheet name it should populate display states to title block after runing this macro.