Recent Posts

Pages: [1] 2 3 ... 10
1
AutoLISP (Vanilla / Visual) / Re: Set 'NoPlot' of selected objects' Layers
« Last post by John Kaul (Se7en) on January 20, 2020, 01:42:08 PM »
Playing around waiting for an email. Not tested.

Code - Auto/Visual Lisp: [Select]
  1. (defun ent-layer-to-no-plot ( ent )
  2.   (cond
  3.     ( (null ent)
  4.      (ent-layer-to-no-plot (car (nentsel (strcat "\nSelect an object: ")))))
  5.     ( (eq (type ent) 'ENAME)
  6.      (ent-layer-to-no-plot (entget (tblobjname "layer" (cdr (assoc 8 (entget ent)))))))
  7.     ( (eq (type ent) 'LIST)
  8.      (entmod (subst '(290 . 0) (assoc 290 ent) ent)))
  9.     )
  10.   (princ)
  11.   )
  12. (ent-layer-to-no-plot nil)
2
AutoLISP (Vanilla / Visual) / Re: Set 'NoPlot' of selected objects' Layers
« Last post by Lee Mac on January 20, 2020, 12:47:34 PM »
Thanks  :-)
3
AutoLISP (Vanilla / Visual) / Re: Set 'NoPlot' of selected objects' Layers
« Last post by rkmcswain on January 20, 2020, 11:03:05 AM »
FWIW, note that you needn't necessarily stray into Visual LISP & ActiveX to accomplish this - here is an example using Vanilla AutoLISP:
Code - Auto/Visual Lisp: [Select]
  1. (defun c:test ( / e x )
  2.     (while (setq e (car (nentsel "\nSelect object whose layer should not be plotted: ")))
  3.         (setq x (entget (tblobjname "layer" (cdr (assoc 8 (entget e))))))
  4.         (entmod (subst '(290 . 0) (assoc 290 x) x))
  5.     )
  6.     (princ)
  7. )


Nice @LeeMac
4
AutoLISP (Vanilla / Visual) / Re: Set 'NoPlot' of selected objects' Layers
« Last post by keebo on January 20, 2020, 05:10:32 AM »
Thanks Lee & John. All very useful information that I'm sure will come in handy going forward.
5
Not free....
This should not be the main criteria ..

...Carlson works nicely with Map 2018 ....
I see there tons of products and suites. What would be the core of the DTM functions?

Fine weekend!
6
Not free. but Carlson works nicely with Map 2018, for those who don't currently have a C3D Seat and abhor the idea of rental software.
7
Vertically Challenged / Re: Recommentations for 3rd-party- DTM software for MAP 3D 2018?
« Last post by huiz on January 17, 2020, 05:40:15 AM »
In C3D you can change the workspace from Civil to Map and vv. In both cases you have both Civil functions and Map functions available, only the ribbon is different. Commands via command line are always available.


Best of both worlds ;-)
8
Thanks for reply, @huiz

I suppose that Civil offers the DTM features only in Civil itself. When I want to use Map, then I'm still without DTM features - right?

For cadtools, I will try it.

Peter
9
AutoLISP (Vanilla / Visual) / Re: Old AutoCAD lisp in newer IntelliCAD?
« Last post by BIGAL on January 16, 2020, 08:43:47 PM »
No idea but this is a comparison of local variables, 2nd list from Vlide.

( "blname" "bss" "bulge" "cntr" "curlyr" "e" "ename" "entstart" "etype" "lt" "ltoff" "lyrcount" "nent" "oldosnap" "osdone" "rr-cl" "rrlyr" "rt" "rtoff" "startpt" "TblLst" "tent")

  (*ERROR* @POLY BLNAME BSS BULGE CNTR CURLYR E E2 ENAME ENTEND ENTSTART LT LTOFF LYRCOUNT MYERROR NENT OLDERR OLDOSNAP OSDONE RRCL RRLYR RR_W RT RTOFF STARTPT TBLLST TENT)
10
Dynamic Blocks / Re: Need a Smart Block
« Last post by CAB on January 16, 2020, 03:43:34 PM »
That's perfect Jeff.
Thanks
Pages: [1] 2 3 ... 10