Civil 3D 2011 Version 3
How do I control the default layer for AECC_NETWORK_PART_CONNECTORs? They are coming in on the current layer which resulted in them being put on several different layers.
What layer does everyone else put them on? I was thinking the structure layer would make sense.
Solved! Go to Solution.
Solved by AlmasSuljevic. Go to Solution.
Can't speak for anyone else, but most of my styles (text included) are set to layer '0' and By Block for both linetype and color that way I can have control over it. It tends to be easier this way and the objects act like blocks and you can make it look how you want and put it on what ever layer you want.
The only kicker is that you need to leave layer '0' on.
I would be ok with the AECC_NETWORK_PART_CONNECTOR being on layer 0. My problem is I can't figure out how to get them on layer 0 and not the current layer.
Hello,
These AECC_NETWORK_PART_CONNECTOR are not physical objects that could be selected in the drawing. It seems that they act as object handles telling that such and such pipes and such and such structures are connected. I see no way of selecing these object handles in the draiwng nor how to control thier display properties. I know that if the pipes and structures are removed these handles are being removed, too.
Since they are not physical objects I see no way to control the default layer. In my opinion (may be wrong here) these handles' settings are hardcoded to go on current layer. To test this, I created new layer and made it current, then drew pipe network. Finally, I listed all objects in the drawing and found that AECC_NETWORK_PART_CONNECTOR are now in currnet layer. So, I guess this is all that could be done - setting your 0 layer as current when drawing pipe network .
Almas,
Thanks for the reply.
This can cause major issues if a user erases all the objects on a layer. That is how I found them.
We need a way to specify a layer for these objects.
Hi Jeff,
I agree with you. But, I think that if these handles are present in the drawing we won’t be able to remove layers unless we remove all objects from it. One other thing I did notice, though, is that using QSELECT I was unable to remove my “_test” layer I created, simply because the objects were not visible or available for selection. One way I did manage to remove them was with following routine (entdel(handent "<handle ID>"))
In any case, I would like to suggest you to provide your feedback about this issue on following link: http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=1109794
Did you try LAYDEL to delete the layer. That would probably do it. You would have to draw an entity on that layer to pick it or you can type in the layer name.
Allen
Allen Jessup
CAD Manager - Designer
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Hi Allen,
I haven't tried LAYDEL, but I would imagine it would also remove layer. I have seen cases where LAYDEL did not allow user to remove layer if it is referenced in style, XREF, etc.
Hello Almas,
I haven't seen that. But I have seen it cause problems when it removes a layer that Civil 3D has specified. Mostly thing end up on layer 0. It can also cause problems if objects are on the layer deleted. With the reactive nature of C3D the consequences can be far reaching.
Allen
Allen Jessup
CAD Manager - Designer
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Sorry, I should have been more specific. I am using a lisp routine that uses ssget to select the the objects on a layer.
Either way. That would have a similar effect as LayDel, allowing you to delete all entities on a layer and the layer itself. LayDel will also remove items from blocks if they are on the layer deleted. So these types of commands can be destructive if objects aren't on the layer you believe them to be.
Allen
Allen Jessup
CAD Manager - Designer
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
@JeffPaulsen wrote:
Sorry, I should have been more specific. I am using a lisp routine that uses ssget to select the the objects on a layer.
If you want to delete objects on a layer using your lisp routine, but ensure the CONNECTOR items remain, add the AECC_NETWORK_PART_CONNECTOR as an exclusion to the ssget filter list. That way they won't be selected.
Can't find what you're looking for? Ask the community or share your knowledge.