CADTutor: The best free help for AutoCAD on the web

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Go Back   AutoCAD Forums > AutoCAD > AutoCAD Vertical Products > Civil 3D & LDD

Reply
 
Thread Tools
Old 5th Oct 2009, 03:21 pm   #1
lpseifert
Forum Deity
 
Using: Civil 3D 2009
 
Computer Details
 
Join Date: Sep 2006
Location: Pittsburgh, PA, USA
Posts: 2,566
Default Point group display

Is there a way to 'toggle' the display of a point group(s) on/off? I've tried setting the Point Style and Point Label Style to <none>, it seems to work for the Point, but not the Label. Surely there must be an easy way.
Thanks-

<edit>
I just tried the <none> styles on different point group, and it seems to be working properly. Still, does someone have an easier way? Seems like there should be a 'visibility' toggle for a point group.

Last edited by lpseifert : 5th Oct 2009 at 03:30 pm.
lpseifert is offline   Reply With Quote
Old 6th Oct 2009, 01:07 am   #2
sinc
Full Member
 
Using: Civil 3D 2010
 
Join Date: Jul 2008
Location: Colorado
Posts: 49
Default

The display depends on whether or not you have Styles assigned to the Points themselves.

The style is determined in the following order:

1) If the OVERRIDE option is SELECTED on the Point Group, use the style assigned to the Point Group.
2) Otherwise, if the Point itself has a style assigned, use the style assigned to the Point.
3) Otherwise, use the style assigned to the Point Group.

For most things, we use Styles assigned directly to the Points themselves. Then we can turn on the OVERRIDE option(s) in the Point Group to "temporarily" change the appearance of the entire group. When we're done, we can turn the Point Group override off, and the points go back to their original appearance.

Last edited by sinc : 6th Oct 2009 at 01:18 am.
sinc is offline   Reply With Quote
Old 6th Oct 2009, 12:22 pm   #3
lpseifert
Forum Deity
 
Using: Civil 3D 2009
 
Computer Details
 
Join Date: Sep 2006
Location: Pittsburgh, PA, USA
Posts: 2,566
Default

OK, thanks for that sinc.
lpseifert is offline   Reply With Quote
Old 26th Oct 2009, 02:56 am   #4
BIGAL
Super Member
 
Using: Civil 3D 2008
 
Join Date: Dec 2005
Location: GEELONG AUSTRALIA
Posts: 768
Default

I have been trying to do something similar have a toolbar with icons that hold the style settings this saves the need to go back to the style menu's. Initially it was for turning on/off contours and changing the contour interval settings.

I have some vba code but can not seem to tie it all together its complicated getting into the civ3d database the problem I have, changing stuff seems straight forward.

Any one done this ?
BIGAL is offline   Reply With Quote
Old 5th Nov 2009, 02:51 am   #5
BIGAL
Super Member
 
Using: Civil 3D 2008
 
Join Date: Dec 2005
Location: GEELONG AUSTRALIA
Posts: 768
Default

Anyone out there good at VBA (I am a learner) there is an example code \program files\autocad civil 3d 2009\sample\VBA\surfacepoints

Within that it refers as per the readme.txt

"AddPointsToSurfaceTest - Loads a surface from an XML file. Creates a point description key ..... sets the point style of the new points using the point description key".

As we know the name of the descriptor keys used then it should be simple to turn on/off or change without going throught the point style menus! Thats what I am trying to do.
BIGAL is offline   Reply With Quote
Old 7th Nov 2009, 03:04 pm   #6
sinc
Full Member
 
Using: Civil 3D 2010
 
Join Date: Jul 2008
Location: Colorado
Posts: 49
Default

Are you trying to do something like in the attached image? It's showing the SPLayOff command in the Sincpac-C3D.

If you want to tackle something like this, I should warn you that it is rather tricky, and not a simple task. I would also strongly recommend that you do not try to use VBA, and instead try to use a .NET language. Autodesk is no longer supporting the COM API for Civil 3D, and you can't get to everything that way. Well, you still can't get to everything via .NET, either, so as of right now, .NET programming for Civil 3D is a nasty mix of COM and managed access. But moving forward, Autodesk is only working on the managed side, and they are not adding new API calls to the COM side.
Attached Images
File Type: gif splayoff.gif (64.0 KB, 8 views)
sinc is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
List coordinate by select point group jason tay AutoLISP, VBA, the CUI & Customisation 37 27th Apr 2009 12:36 am
How to mark on 3D Pline/3D Spline with specified distance from point to point? Phiphi AutoLISP, VBA, the CUI & Customisation 10 14th Feb 2009 02:16 pm
Point group editing problems Archaeological Mapper AutoCAD Beginners' Area 2 16th Sep 2008 03:45 pm
LDD 2006 point display question Miles AutoCAD 3D Modelling & Rendering 5 12th Mar 2008 04:21 pm
Display Northing/Easting of point????????????? AK AutoCAD Drawing Management & Output 4 13th Apr 2006 05:54 pm

Why Donate?


All times are GMT +1. The time now is 08:41 am.

RSS Feed for AutoCAD ForumsValid XHTML 1.0!Valid CSS!Creative Commons Licence