Is there really no way to select (Civil3d-)objects by propertyset-data?

Is there really no way to select (Civil3d-)objects by propertyset-data?

cwr001
Collaborator Collaborator
3,359 Views
8 Replies
Message 1 of 9

Is there really no way to select (Civil3d-)objects by propertyset-data?

cwr001
Collaborator
Collaborator

I sort of alluded to his here but I've now got a much more generic task at hand and I really hope I'm getting this wrong.

 

Is it really not possible to select (Civil3d-)objects (let's take featurelines for example) with assigend propertydata by propertyvalues?

PSets are heavily promoted by Autodesk and essential for all BIM-workflows - there must be a way to do this!

 

Let's say I have 100 featurelines to which I assigned the property "Myproperty_1".

75 of them get the value "Foo" and the remaining 25 the value "Bar" for "Myproperty_1".

I now want to select all featurelines with the property "Bar" for "Myproperty_1" and I can't find a way to do it.

"Quick select" doesn't check for propertysetdata, "Filter" doesn't recognize Civil3d-objects and while project explorer allows me to filter for properties for individual featurelines, I can't seem to select everything with a specific value for a specific property.

 

Please tell me there's a way to do this! 🙂

0 Likes
3,360 Views
8 Replies
Replies (8)
Message 2 of 9

TerryDotson
Mentor
Mentor

Please tell me there's a way to do this! 🙂


If you were to consider third party add-ons, DotSoft's C3DTools contains a Data Editor & Processing tool that allows (among other things) the ability to select objects based on data (PropSet Data, Map Object Data and some XData).

 

Capture1.png

 

In this example a few FeatureLine objects were created with a PropSet field and some values.  When this dialog appears, the user selects the items to query on the left (all four were chosen) then what action to take, in this case [Select Content] containing "Foo".  At that that point only the qualifying rows remain highlighted in the left, the qualifiers are selected (upper right) and when the dialog is closed the objects can be processed with any command such as E for Erase.

 

Just one of the many capabilities of this dialog.

Message 3 of 9

rgrainer
Collaborator
Collaborator

maybe through dynamo?

https://forum.dynamobim.com/t/rename-existing-property-set-definitions-names-in-civil-3d/80775

I've just started with dynamo, so I can't say for certain that it will do what you want, but at this point I'm willing to strongly guess that it can, based on what I've randomly seen. 

Message 4 of 9

cwr001
Collaborator
Collaborator

Thank you for your answers - I guess at this point I should really consider DotSoft, I hear nothing but good things around here!

It's also certainly possible with Dynamo and I've done PSet-manipulations in the past - so yeah, those are two valid answers.

 

Nevertheless I think this should be the most out-of-the-box functionality you could think of and should be added for all users. Giving the option to assign properties to objects without a proper way to make use of those properties is just...stupid.

0 Likes
Message 5 of 9

KirkWM
Collaborator
Collaborator

I don't think you can do this within civil but my guess is that this is project explorer will be able to help with this type of task within civil 3d in the future. I've done this before in Dynamo, here is a good post that could help: https://forum.dynamobim.com/t/select-objects-in-drawing/50208/13 

Message 6 of 9

s.proch
Enthusiast
Enthusiast

I have a dynamo script that does exactly that! 

Message 7 of 9

brett.townsend
Participant
Participant

Thanks for sharing this, its defiantly pointing me in the correct direction but I am not able to get it to work.

 

I have a pipe network with a custom property set showing the sizes of the pipes in and out. I need to select a structure based on the size of the pipe in the PS data set. 

 

There should be 2 methods of doing this, both are in the script attached but both return empty values.

 

Can anyone assist.

0 Likes
Message 8 of 9

s.proch
Enthusiast
Enthusiast

Hi @brett.townsend , just had a quick look and it seems like the error was in the property name input. Yours was "PipeInSize " with a space at the end. The property set and property name must be exactly the same as they are in your drawing. Give it another go and see if it works now.

Message 9 of 9

brett.townsend
Participant
Participant

Hi @s.proch, Thanks for this, i added the space into the name trying to get it to work but also had a space at the end of the other string which was the issue.

 

It works!!! Thanks for your assistance.