r/civil3d • • 24d ago

Help / Troubleshooting Macro/lisp for swapping point groups

One of the most tedious things about civil3d is switching back and forth between point groups. If I could figure out a way to hot key a swap between "all points" and "plotting", it would be HUGE.

I've tried LISP and could only get it to open the point group window and not actually swap between groups. I am not exactly LISP professional though.

Does anyone know how to achieve what I am looking for?

4 Upvotes

5 comments sorted by

3

u/DependentBase5039 24d ago

The way my company has it set up is that the points we dont plot are on a layer that won't plot but are visible in thebdrawing. I also have a mouse with a bunch of Programmable buttons. When I want to have those non plotting points turned off to clear the display, I have a macro made for one of the extra buttons that freezes the layer default point layer. I also freeze the layer in my layout viewport at times to help with display or visibility. Those only help if you have the layers set up to allow for it though.

2

u/The-Phantom-Blot 24d ago

I don't understand the workflow you are attempting to automate.

If I wanted a point to plot, I would put it on a layer that plots. All other points would be on a layer that does not plot (or is simply frozen).

Another thing you can do is to have a non-plotting point style, which "All Points" will be assigned. Then your subset of points that you want to plot will be assigned a plotting point style. There is a hierarchy of point groups based on which one was created first - but you can reorder them so the subset is on top.

2

u/Weak-Advantage9747 24d ago

I’m in agreement with others. I think what you want can be managed via layers. However, I am curious, are you trying to find a way to apply a different style associated with the all points group or change the order of point groups for visibility priority?

2

u/Roonwogsamduff 24d ago

Point code, point styles, point labels, layer states.

1

u/Lesbionical 24d ago

If putting points on specific layers like others suggested isn't quite what you're looking for you could try creating a point and point label style that sits on a specific layer. If you turn off that layer it then hides all the points regardless of what layer your point objects are set to.

You can set the style color / linetype / etc to byblock and the object properties to bylayer if you want it to still take the layer properties.