Author Topic: Layer Isolate  (Read 8120 times)

0 Members and 1 Guest are viewing this topic.

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Layer Isolate
« Reply #15 on: February 01, 2012, 09:02:20 AM »
in a 'round the way fashion...YES

You may need to either perform an Export to Autocad operation, or Explode them.
Be your Best


Michael Farrell
http://primeservicesglobal.com/

sinc

  • Guest
Re: Layer Isolate
« Reply #16 on: February 06, 2012, 02:51:04 AM »
Sounds like you're looking for this (third-party solution):

http://www.quuxsoft.com/SincpacC3D_Help/SP_LayerIsolate.htm

caddcop

  • Guest
Re: Layer Isolate
« Reply #17 on: February 12, 2012, 04:18:12 PM »
I put together some VBA code after searching for some examples that access the Civil 3D objects.
(I' m too much of a noob when it comes to lisp or vlisp.)
Anyway, it reads the object and in my case, I was looking for the surface items - contour layers, etc.  And if it finds a surface object, it gets its style and then from the style, it bores down to read the layers used in the style.
So far, that's as far as I got - it opens a dialog box and shows that info and a bit more. My next step was going to be to add some buttons to allow layer commands based upon these values. I have not had time to work out the user interface or commands to follow.
The procedure is called List_Object
Remember, this is a work in progress.

sinc

  • Guest
Re: Layer Isolate
« Reply #18 on: February 14, 2012, 07:53:45 PM »
Last I checked, it's still impossible to figure out which item the user selects.  You can try to make "guesses", based on the pick location, but then identifying the closest Surface element (Contour, TIN Triangle, Boundary, etc.) becomes very difficult.

That's why I haven't yet added that sort of functionality to the Sincpac-C3D SPLayIso command.  This sort of stuff becomes easier, though, as the C3D .NET API slowly improves.  (Still not sure we can do THIS, though....)