GROUP command with spatial objects

GROUP command with spatial objects

gaetanoperbellini8150
Explorer Explorer
578 Views
7 Replies
Message 1 of 8

GROUP command with spatial objects

gaetanoperbellini8150
Explorer
Explorer

It seems that the GROUP command works with spatial objects when a group is creted, but it's impossible to use this group to create a selection set of the selected objects.

0 Likes
579 Views
7 Replies
Replies (7)
Message 2 of 8

ChicagoLooper
Mentor
Mentor

HI @gaetanoperbellini8150 

Can you describe your 'geospatial' objects? Or upload images of those objects.

 

Are you dealing with geospatial data, such as shapefile or geodatabase? Or do you have AutoCAD georeferenced 'entities' which have object data attached?

 

Can you also explain what you are trying to accomplish using GROUP? That command is an AutoCAD command. If you are trying to perform an operation with geospatial objects it might be better to use a geospatial command, not one designed for plain vanilla objects.

 

Chicagolooper

EESignature

0 Likes
Message 3 of 8

gaetanoperbellini8150
Explorer
Explorer

Hi @ChicagoLooper 

the spatial objects are, in this case, objects from a MS-SQL spatial database.
I filtered they with some filters and for each filter I would like create a GROUP.
The groups will be used as a selection set in other our commands that manage the spatial objects.

 

I agree with you the use of vanilla command is not good for spatial objects... but if it is so... Why the GROUP command semmes to work with spatial objects?

Wouldn't it be better if using the GROUP command said that on such objects it doesn't work?

 

Anyway, How can I create 'groups/selection sets'  of spatial objects to use in oter commands?

I haven't written it until now but all this I have to do within our own ARX/.Net application.

Gaetano

0 Likes
Message 4 of 8

ChicagoLooper
Mentor
Mentor

@gaetanoperbellini8150 

<<… I filtered they with some filters and for each filter I would like create a GROUP...>>

 

Help me to understand this. Why would you filter objects then create a group for them? That sounds redundant. Since they’re already filtered wouldn’t that constitute a ‘group?’

I’m not sure what you mean by to use in oter commands. Can you explain? Is it possible to change, apply a style, or customize that ‘filtered group’ without using the GROUP command?

 

I don’t use MS-SQL. Do you run queries? You can run a query to isolate objects or a ‘groups of objects’ then give each group it’s own unique style. Or make a group behave in a certain way. What specific command(s) would you run on a group?

Chicagolooper

EESignature

0 Likes
Message 5 of 8

gaetanoperbellini8150
Explorer
Explorer

Hi @ChicagoLooper 

I have a network (Nodes and pipes) with valves.
When some valves are closed, may be I have more than one subnet.
I have all the objects of each single subnet in the selection sets.
With one of theese subnets, the user selects wich subnet must be processed, and I do something...
I would have a group for each of theese so I can subprocess one of the grouped subnets (with others my commands) without check the state of the valves to have the subnets again.
I will be happy if I can pass to these others commands one of the previous groups.

 

 

0 Likes
Message 6 of 8

ChicagoLooper
Mentor
Mentor

@gaetanoperbellini8150 

Ok, so nodes and pipes. Create a topology (or topologies), maybe?

Chicagolooper

EESignature

0 Likes
Message 7 of 8

gaetanoperbellini8150
Explorer
Explorer

Hi @ChicagoLooper 

Use of topologies is to much complex.
Topology must be managed and this take to much time.
What I need is a simple way... like groups, to manage spatial objects.

0 Likes
Message 8 of 8

ChicagoLooper
Mentor
Mentor

@gaetanoperbellini8150 

<<...Use of topologies is to much complex...>>

Hmm?

 

<<...but it's impossible to use this group to create a selection set of the selected objects.>>

That's second half of the sentence in your opening post. It suggests you are desperately searching for a 'one-click-and-you're-done' type of answer, where a plain vanilla 'simple' command can easily perform an operation on geospatial features.

 

The Group is the simple way and you already know it doesn't work. I doubt other plain vanilla-ish commands will work.

 

If you don't want to use topologies then you'll need to run queries. If you don't have the time or energy for topologies or queries then you might consider sharing the work with someone in your office who can (or someone outside your office, i.e., subcontractor maybe).

 

Chicagolooper

EESignature