Author Topic: NOC = Number Of Copies  (Read 3437 times)

0 Members and 1 Guest are viewing this topic.

Andrea

  • Water Moccasin
  • Posts: 2372
NOC = Number Of Copies
« on: July 25, 2011, 12:43:07 PM »
Hi all...

Little challange for you guys...

I've finaly be able to capture the number of copie when printing.
anyone can reproduce this reactor ?

Keep smile...

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: NOC = Number Of Copies
« Reply #1 on: July 25, 2011, 12:59:00 PM »
(define C:NOC ( / )
   (alert "Number of Copies = 2")
   (princ)
)

:whistle:
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: NOC = Number Of Copies
« Reply #2 on: July 25, 2011, 01:01:45 PM »
My LSP is rusty, but I'm assuming it has something to do with the NUMBEROFCOPIES property.
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

Andrea

  • Water Moccasin
  • Posts: 2372
Re: NOC = Number Of Copies
« Reply #3 on: July 25, 2011, 01:11:37 PM »
Nice Try Matt..  :)

Code: [Select]
(vla-get-numberofcopies (vla-get-Plot (vla-get-ActiveDocument (vlax-get-acad-object))))always return 1
Keep smile...

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: NOC = Number Of Copies
« Reply #4 on: July 25, 2011, 01:12:38 PM »
Nice Try Matt..  :)

Code: [Select]
(vla-get-numberofcopies (vla-get-Plot (vla-get-ActiveDocument (vlax-get-acad-object))))always return 1
In that case, I'm sticking with my first response.  ;)
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

Andrea

  • Water Moccasin
  • Posts: 2372
Re: NOC = Number Of Copies
« Reply #5 on: July 25, 2011, 01:43:35 PM »
Nice Try Matt..  :)

Code: [Select]
(vla-get-numberofcopies (vla-get-Plot (vla-get-ActiveDocument (vlax-get-acad-object))))always return 1
In that case, I'm sticking with my first response.  ;)

Well eaven that....there is no "S" on Copie.  :P
Keep smile...

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

JohnK

  • Administrator
  • Seagull
  • Posts: 10626
Re: NOC = Number Of Copies
« Reply #7 on: July 25, 2011, 05:01:47 PM »
Looks like an old problem
http://forums.autodesk.com/t5/Visual-LISP-AutoLISP-and-General/vla-get-NumberofCopies-Not-Getting/td-p/877840

Not the OPs question. Re-read the first post. There was no question of how to do it, Andrea said that he was able to do something and was asking if anyone else can as well (And, the last person who posted in the link you gave asked what Andrea seems to have done).

Andrea,
Can you give us a hint? Is it a variable or registry setting? I would imagine there is a lot of things it could be or where it would be hiding. Right?
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: NOC = Number Of Copies
« Reply #8 on: July 25, 2011, 05:18:47 PM »
good thing we haz a monitor
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Andrea

  • Water Moccasin
  • Posts: 2372
Re: NOC = Number Of Copies
« Reply #9 on: July 25, 2011, 05:27:01 PM »
I've worked hard on this one..
but like each program, the programmer need to think of what he realy need..

In fact the question is....

do I want to know how many copy I've put on the dialog?
or
do I want to know how many copy was sent on the printer?

than,...maybe that will direct you to another direction.
 :kewl:
Keep smile...

kdub_nz

  • Mesozoic keyThumper
  • SuperMod
  • Water Moccasin
  • Posts: 2132
  • class keyThumper<T>:ILazy<T>
Re: NOC = Number Of Copies
« Reply #10 on: July 25, 2011, 06:21:38 PM »

what a tease :)
Called Kerry in my other life
Retired; but they dragged me back in !

I live at UTC + 13.00

---
some people complain about loading the dishwasher.
Sometimes the question is more important than the answer.

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: NOC = Number Of Copies
« Reply #11 on: July 26, 2011, 09:12:17 AM »
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox