Message 1 of 28
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear Sir,
I want to batch print to by name of printer lisp file.
Print Paper size A4.
Solved! Go to Solution.
Dear Sir,
I want to batch print to by name of printer lisp file.
Print Paper size A4.
Solved! Go to Solution.
Just a guess trying to confirm , did Boundingbox exist in 2013 ? Searching help for 2013 is hard, If not, can work out LL UR etc from size of title block.
Just a guess does VLA-getboundingbox exist ? Trying to find in 2013 help. Can work out LL UR pts from size of title block other wise.
copy this and paste to command line, select a suitable object as a test.
(defun wow ()
(vla-getboundingbox (vlax-ename->vla-object (car (entseL "\nPick object like text "))) 'mn 'mx)
(setq llpt (vlax-safearray->list mn)
urpt (vlax-safearray->list mx))
(princ llpt)
)
(wow)
Pick object like text
result (-2.5 -4.0 0.0)(-2.5 -4.0 0.0)
Excellent suggestion by @Sea-Haven
@Gaganpatel Try this revised code which uses the exact size based on your title block SS
(setq llpt (cdr(assoc 10(entget (cddr x)))))
(setq urpt (list (+ 267.00 (car llpt)) (+ 188.78788 (cadr llpt)))) ; use exact dimension of ttl blk SS
So i searched the forums and apparently even back as far as 2010 the VLA-getboundingbox function was available
https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/bounding-box-question/td-p/2657431
so there’s something else that’s preventing @Gaganpatel from completing the plot sequence. I also did a search on the forums and found that the plot sequence was the same back in 2012
So my suspicion is that perhaps @Gaganpatel is missing the Dwg To Pdf.pc3 printing device or monochrome.ctb which are specified in the lisp code. Will require @Gaganpatel feedback.
A screen dump of your plot settings would be helpful when doing a manual plot that works. There are at least 3 items that must match exactly even down to spaces in there input and capital or lowercase input.
Dear Sir,
Thanks a Million 🙏🙏
Dear Sir,
Thank you Very Much 🙏🙏
glad that it finally all worked out for you...cheers!!!