Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Layer Management

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
123 Views, 3 Replies

Layer Management

Hi,

Many users from the Land Desktop world sadly miss the Land Desktop layer
management tools and may or may not find the Express tools replacements for
them satisfactory.

Attached is an alternative Layer Management tool which enables the LDD Layer
Tools functionality in a different and in some places enhanced format .

Place the program in a location on your AutoCAD search path and add the
following to one of your Auto running lisp programs to run it

(defun C:Lay ()
(vl-load-com)
(setq sLayerManagerFunction "LayerManager-C3D2007-v0.dvb!LayerManager")
(vl-vbarun sLayerManagerFunction )
)

The program as posted is Open source written in R2007 Civil 3D, but should
run in R2006.

Hopefully it will encourage someone to have a go at VBA themselves to tidy
up some of the rough edges I've deliberately left.

Any positive feedback suggestions may be incorporated in a formal release of
the program a couple of months from now.


--

Laurie Comerford
CADApps
www.cadapps.com.au
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous

Thanks Laurie.

I loaded it OK and it appears to be well worth the cost!



Bill

"Laurie Comerford" wrote in message
news:5316671@discussion.autodesk.com...
Hi,

Many users from the Land Desktop world sadly miss the Land Desktop layer
management tools and may or may not find the Express tools replacements for
them satisfactory.

Attached is an alternative Layer Management tool which enables the LDD Layer
Tools functionality in a different and in some places enhanced format .

Place the program in a location on your AutoCAD search path and add the
following to one of your Auto running lisp programs to run it

(defun C:Lay ()

(vl-load-com)
(setq sLayerManagerFunction "LayerManager-C3D2007-v0.dvb!LayerManager")
(vl-vbarun sLayerManagerFunction )
)

The program as posted is Open source written in R2007 Civil 3D, but should
run in R2006.

Hopefully it will encourage someone to have a go at VBA themselves to tidy
up some of the rough edges I've deliberately left.

Any positive feedback suggestions may be incorporated in a formal release of
the program a couple of months from now.


--


Laurie Comerford
CADApps
www.cadapps.com.au
Message 3 of 4
Anonymous
in reply to: Anonymous

similarly, those that miss the old menu pallettes and menubar tab of menuload tab can get them back for 2006 with the
Menusback tool free on Cadthinking.com.
It will work for 2007 when objectdcl gets converted for it.
LDT's menu pallettes only did pulldowns, but mine does toolbars too.

so for those that thought you had to learn the CUI and workspaces to move pulldowns around, you might be surprised.
The main thing I don't like about workspaces is its all or nothing. They move all items involved, you cannot choose to
just set pulldowns or toolbars to a given workspace. Menusback lets you choose.

Laurie's tool worked well, thanks for the generous posting of code.

Laurie Comerford
|>Hi,
|>
|>Many users from the Land Desktop world sadly miss the Land Desktop layer
|>management tools and may or may not find the Express tools replacements for
|>them satisfactory.
|>
|>Attached is an alternative Layer Management tool which enables the LDD Layer
|>Tools functionality in a different and in some places enhanced format .
|>
|>Place the program in a location on your AutoCAD search path and add the
|>following to one of your Auto running lisp programs to run it
|>
|>(defun C:Lay ()
|>
|>(vl-load-com)
|> (setq sLayerManagerFunction "LayerManager-C3D2007-v0.dvb!LayerManager")
|> (vl-vbarun sLayerManagerFunction )
|>)
|>
|>The program as posted is Open source written in R2007 Civil 3D, but should
|>run in R2006.
|>
|>Hopefully it will encourage someone to have a go at VBA themselves to tidy
|>up some of the rough edges I've deliberately left.
|>
|>Any positive feedback suggestions may be incorporated in a formal release of
|>the program a couple of months from now.
James Maeding
Civil Engineer and Programmer
jmaeding - athunsaker - com
Message 4 of 4
Anonymous
in reply to: Anonymous

To get this to work for 2006, you need to change the initialize code:

Private Sub UserForm_Initialize()
If InStr(Application.Version, "16") >= 1 Then
Set oColour = AcadApplication.GetInterfaceObject("AutoCAD.AcCmColor.16")
ElseIf InStr(Application.Version, "17") > 0 Then
Set oColour = AcadApplication.GetInterfaceObject("AutoCAD.AcCmColor.17")
End If
PopulateColours
PopulateLineType
PopulateLineWeights

End Sub ' UserForm_Initialize

Laurie Comerford
|>Hi,
|>
|>Many users from the Land Desktop world sadly miss the Land Desktop layer
|>management tools and may or may not find the Express tools replacements for
|>them satisfactory.
|>
|>Attached is an alternative Layer Management tool which enables the LDD Layer
|>Tools functionality in a different and in some places enhanced format .
|>
|>Place the program in a location on your AutoCAD search path and add the
|>following to one of your Auto running lisp programs to run it
|>
|>(defun C:Lay ()
|>
|>(vl-load-com)
|> (setq sLayerManagerFunction "LayerManager-C3D2007-v0.dvb!LayerManager")
|> (vl-vbarun sLayerManagerFunction )
|>)
|>
|>The program as posted is Open source written in R2007 Civil 3D, but should
|>run in R2006.
|>
|>Hopefully it will encourage someone to have a go at VBA themselves to tidy
|>up some of the rough edges I've deliberately left.
|>
|>Any positive feedback suggestions may be incorporated in a formal release of
|>the program a couple of months from now.
James Maeding
Civil Engineer and Programmer
jmaeding - athunsaker - com

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report