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: 

Ncopy in Civil 3D 2011

15 REPLIES 15
Reply
Message 1 of 16
CNinBC
3961 Views, 15 Replies

Ncopy in Civil 3D 2011

It looks like Autodesk has made some changes on the "NCopy" command. When I NCopy the line in the referent drawing, it doesn't copy to Current Layer like Civil 3D 2009, it just likes inserting/binding the object into the current drawing, it brings the object properties in the referent drawing into current drawing, for example layer name, linetype, color, etc. Is there a way to set NCopy to current layer like C3D 2009?

Thanks.

15 REPLIES 15
Message 2 of 16
Anonymous
in reply to: CNinBC

I would like NC to place on the current layer as well.  Does anyone have a suggested alternative?

 

Brent

Message 3 of 16
Anonymous
in reply to: Anonymous

I have a lisp routine that works like ncopy, but only single picks.  It does put it on the current layer.

 

Jim

Message 4 of 16
Anonymous
in reply to: CNinBC

Jim,

 

That works great...Thank you.  

 

I do not know why that functionality got changed in 2011.  Certainly, I do not want to bind nested layers into my drawings unnecessarily and then have to purge them out...

 

Your lisp helps...again, thank you.

 

Brent

Message 5 of 16
AllenJessup
in reply to: Anonymous

It was probably changed because enough people "wished" for it.

 

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.

EESignature

Message 6 of 16
CNinBC
in reply to: Anonymous

Thanks Jim.

Message 7 of 16
Neilw_05
in reply to: AllenJessup

I never liked having my lines come in on the current layer either. Usually we want to preserve the layer standards of the linework as it serves a crucial role in identifying what they are. If the source lines were on different layers, all of that information got lost in the translation. Ideally it would be best to have an option to preserve the source layers or use current.

Neil Wilson (a.k.a. neilw)
AEC Collection/C3D 2024, LDT 2004, Power Civil v8i SS1
WIN 10 64 PRO

http://www.sec-landmgt.com
Message 8 of 16
Anonymous
in reply to: Neilw_05

All depends on how you work with it I suppose...An option would be nice.

 

I am usually using NCOPY with drawings that are not to 'our' standards.  In fact, most often not generated 'in-house.'  ie. pulling information from an otherwise bloated drawing - planning document, tentative map, etc.

 

Brent

Message 9 of 16
Hidden_Brain
in reply to: Anonymous

Autodesk, please add a "NCOPYMODE" Smiley Happy

 

Message 10 of 16
Anonymous
in reply to: CNinBC

Thank you for sharing this xcopy works great.

Message 11 of 16
Anonymous
in reply to: CNinBC

I second ncopymode. I can't think of an instance where I used ncopy and wanted the object to remain on the source layer.

Message 12 of 16
w.suender
in reply to: Anonymous

(defun c:ncopyact (/ LE NE)
  (setq LE (entlast))			; last entity in database
  (command "._ncopy")			; start the original ncopy command
					; be quiet while ncopy is active
  (while (wcmatch (strcase (getvar "cmdnames")) "*NCOPY*")
    (command pause)
  )
					; for each new object after LE setq the actual layer
  (while (setq NE (entnext LE))
    (ENTMOD (SUBST (CONS 8 (getvar "CLAYER"))
		   (ASSOC 8 (ENTGET NE))
		   (ENTGET NE)
	    )
    )
    (setq LE NE)			; change the LE to the current element
  )
)

 

small version:

uses the original ncopy (AutoCAD command) and changes every new element after ending the command.

BUT the original layer will be inserted into the drawing

 

greetz

Wolfgang S

Message 13 of 16
AllenJessup
in reply to: w.suender

Thanks. Nice little Lisp.

 

Allen Jessup

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.

EESignature

Message 14 of 16
chrismichaelgentile
in reply to: Anonymous

Is there a way to select multiple objects with nentsel? The previous ncopy command allowed you to select multiple objects. 

Message 15 of 16

Hi!

 

in my little lisp you can select as many objects as you want - one after another.

the same behaviour as the original command.

 

the "nentsel" is definitley only for 1 object. it´s not possible to select more objects with nentsel.

 

greetings

Wolfgang S

 

Message 16 of 16
robert06
in reply to: w.suender

Hi, thank you for the lisp Wolfgang.

Is it possible to determine base point settings of ncopy in the lisp: base "0,0,0", destination "@"?

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report