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: 

Multileaders

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
teflon
1353 Views, 6 Replies

Multileaders

My Multileaders have an elevation, Z value! Is there a quick way to set the z value to 0?

6 REPLIES 6
Message 2 of 7
DaveM
in reply to: teflon

Yes, the flatten command will work.10-30-2013 7-29-02 AM.png

Thanks,
Dave

Civil 3D 2013
HP Z400 Workstation
6GB of RAM
296GB HDD
ATI FirePro V5700(FireGL)
Win 7 Home Professional
Please use Kudos Where Deserved



Message 3 of 7
teflon
in reply to: DaveM

Thanks!

Message 4 of 7
teflon
in reply to: DaveM

Good solution but everything got exploded! So they are not annotative multileaders anymore! 

I tested both options "Removing hidden lines"  and not "Removing hidden lines".

 

I do not understand why the multileaders got the elevation to begin with!

 

Message 5 of 7
teflon
in reply to: DaveM

Something like OSNAPZ which could be used afterwards!

Message 6 of 7
Ajilal.Vijayan
in reply to: teflon

Try with this code

 

(defun c:MLZ (/ key alist e n obj pts ss)
  
  ;from http://www.cadtutor.net/forum/showthread.php?30800-Polyline-Vertex-Question&p=198725&viewfull=1#post...
  (defun massoc (key alist / x nlist)
  (foreach x alist
    (if (eq key (car x))
     (progn
	 (setq alist (subst (cons key (list (nth 0 (cdr x))(nth 1 (cdr x)) 0)) x alist))
	 );progn
 );if
  );foreach
  );defun
  
  
  (setq n -1)
  (if (setq ss (ssget ":L" '((0 . "MULTILEADER"))))
    (while (setq e (ssname ss (setq n (1+ n))))
	(entmod (massoc 10 (entget e)))
    );while
  )
  (princ)
);defun

 

 

Message 7 of 7
teflon
in reply to: DaveM

What I came up with is to make a block of all multileaders and then set the block to z=0 and then explode the block.

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report