<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can I use a carlson command in autolisp? in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-i-use-a-carlson-command-in-autolisp/m-p/11521637#M39302</link>
    <description>&lt;P&gt;If you have already selected then why not just use properties and change the scale. No code required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or have you changed 1 block and want to match to that scale ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;; (setq sc (getreal "\nEnter new scale "))
(setq ent (entget (car (entsel "\nSelect block to change "))))
(setq layname (cdr (assoc 8 ent))
bname (cdr (assoc 2 ent)
sc (cdr (assoc 41 ent))
)&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 01 Nov 2022 00:55:38 GMT</pubDate>
    <dc:creator>Sea-Haven</dc:creator>
    <dc:date>2022-11-01T00:55:38Z</dc:date>
    <item>
      <title>Can I use a carlson command in autolisp?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-i-use-a-carlson-command-in-autolisp/m-p/11504450#M39293</link>
      <description>&lt;P&gt;Is there any way to use and pass a variable data to another program? I have a lisp for autocad, but I would like to add a carlson command into it, is this possible?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 15:19:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-i-use-a-carlson-command-in-autolisp/m-p/11504450#M39293</guid>
      <dc:creator>etilley327KA</dc:creator>
      <dc:date>2022-10-24T15:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a carlson command in autolisp?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-i-use-a-carlson-command-in-autolisp/m-p/11504590#M39294</link>
      <description>&lt;P&gt;If the Carlson command in question does something that AutoCAD could be customized to do, it's surely possible to make that customization by way of AutoCAD commands and AutoLisp functions.&amp;nbsp; But if you're talking about actually "reaching into" Carlson software somehow, to perform something in a drawing that you have open in AutoCAD [since presumably that would be the only context in which you could be using an AutoLisp routine], that doesn't seem possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you give an example of the kind of thing you would be wanting to do?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 16:03:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-i-use-a-carlson-command-in-autolisp/m-p/11504590#M39294</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-10-24T16:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a carlson command in autolisp?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-i-use-a-carlson-command-in-autolisp/m-p/11504610#M39295</link>
      <description>&lt;P&gt;Thanks, I was just looking into if it was possible. Im trying to enlarge the points selected which I do through carlson. I was able to do this through CAD but it only increases the text size and disables the abilities of the points for other uses.&lt;/P&gt;&lt;P&gt;I was trying to see if the point data could be passed to carlson kind of like a macro but were it says screen selection pass it my variable data. I knew it was farfetched, just wondering if anything was out there.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 16:12:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-i-use-a-carlson-command-in-autolisp/m-p/11504610#M39295</guid>
      <dc:creator>etilley327KA</dc:creator>
      <dc:date>2022-10-24T16:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a carlson command in autolisp?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-i-use-a-carlson-command-in-autolisp/m-p/11505480#M39296</link>
      <description>&lt;P&gt;When you say points are they COGO points as in the type CIV3D would make. Then yes can do lots of stuff to a "Point"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Post a dwg so can look at the "Point".&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 00:21:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-i-use-a-carlson-command-in-autolisp/m-p/11505480#M39296</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2022-10-25T00:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a carlson command in autolisp?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-i-use-a-carlson-command-in-autolisp/m-p/11506469#M39297</link>
      <description>&lt;P&gt;Here's a DWG with some points.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 11:16:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-i-use-a-carlson-command-in-autolisp/m-p/11506469#M39297</guid>
      <dc:creator>etilley327KA</dc:creator>
      <dc:date>2022-10-25T11:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a carlson command in autolisp?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-i-use-a-carlson-command-in-autolisp/m-p/11507830#M39298</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10748013"&gt;@etilley327KA&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;.... Im trying to enlarge the points selected which I do through carlson. I was able to do this through CAD but it only increases the text size and disables the abilities of the points for other uses.&lt;/P&gt;
&lt;P&gt;I was trying to see if the point data could be passed to carlson kind of like a macro but were it says screen selection pass it my variable data. ....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What other than increasing the text size could you mean by "enlarge"?&amp;nbsp; And what "other uses" are they "disable[d]" from?&amp;nbsp; [It's hard for me to imagine something that couldn't work with a Block at any scale, especially if the one piece of information that would seem relevant to anything is its insertion point, which is independent of scale.]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The passing-to-Carlson issue sounds like a question to pose in a Carlson forum, rather than here.&amp;nbsp; What format(s) can it accept?&amp;nbsp; Does the function it would use the information for affect the appropriate format(s)?&amp;nbsp; With answers to questions like those, someone might be able to say whether AutoCAD is able to export suitable information.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 18:40:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-i-use-a-carlson-command-in-autolisp/m-p/11507830#M39298</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2022-10-25T18:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a carlson command in autolisp?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-i-use-a-carlson-command-in-autolisp/m-p/11507880#M39299</link>
      <description>&lt;P&gt;Cool, thanks for the info. Ill check on a carlson forum.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 19:09:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-i-use-a-carlson-command-in-autolisp/m-p/11507880#M39299</guid>
      <dc:creator>etilley327KA</dc:creator>
      <dc:date>2022-10-25T19:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a carlson command in autolisp?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-i-use-a-carlson-command-in-autolisp/m-p/11508433#M39300</link>
      <description>&lt;P&gt;Maybe this, its very quick and dirty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(defun c:rscaleblk ( / ss x ent layname bname obj)
(setq sc (getreal "\nEnter new scale "))
(setq ent (entget (car (entsel "\nSelect block to change "))))
(setq layname (cdr (assoc 8 ent))
bname (cdr (assoc 2 ent))
)
(setq ss (ssget (list (cons 0 "INSERT")(cons 2 bname)(cons 8 layname))))
(if (= ss nil)
(progn
  (alert "Nothing slected will exit now try again ")
  (exit)
)
(progn
(repeat (setq x (sslength ss))
  (setq obj (vlax-ename-&amp;gt;vla-object (ssname ss (setq x (- x 1)))))
  (vla-put-XEffectiveScaleFactor obj sc)
  (vla-put-yEffectiveScaleFactor obj sc)
)
)
)
(princ)
)
(c:rscaleblk)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 00:44:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-i-use-a-carlson-command-in-autolisp/m-p/11508433#M39300</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2022-10-26T00:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a carlson command in autolisp?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-i-use-a-carlson-command-in-autolisp/m-p/11520473#M39301</link>
      <description>&lt;P&gt;Cool! I tried to modify this to fit my preexisting lisp to no avail. Could you help a little further, how might I use this with a variable of the objects already selected and a preset scale factor.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 15:00:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-i-use-a-carlson-command-in-autolisp/m-p/11520473#M39301</guid>
      <dc:creator>etilley327KA</dc:creator>
      <dc:date>2022-10-31T15:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a carlson command in autolisp?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-i-use-a-carlson-command-in-autolisp/m-p/11521637#M39302</link>
      <description>&lt;P&gt;If you have already selected then why not just use properties and change the scale. No code required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or have you changed 1 block and want to match to that scale ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;; (setq sc (getreal "\nEnter new scale "))
(setq ent (entget (car (entsel "\nSelect block to change "))))
(setq layname (cdr (assoc 8 ent))
bname (cdr (assoc 2 ent)
sc (cdr (assoc 41 ent))
)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 01 Nov 2022 00:55:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-i-use-a-carlson-command-in-autolisp/m-p/11521637#M39302</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2022-11-01T00:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use a carlson command in autolisp?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-i-use-a-carlson-command-in-autolisp/m-p/11522513#M39303</link>
      <description>&lt;P&gt;This is my LISP, I'm currently trying to change the size of the gathered objects to an increased prefixed size. I was hoping to use carlson to change the size, but that seems unlikely, so how would I go about just changing the size without them moving away from their location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun c:FDER ( / A)&lt;BR /&gt;(princ "\nSelect Points ")&lt;BR /&gt;(setq A (ssget))&lt;BR /&gt;(vl-cmdf "._change" A "" "_p" "_la" "00-form" "")&lt;BR /&gt;(command "_LAYER" "_OFF" "SHOT" "_F" "SHOT"&lt;BR /&gt;"_C" "255" "0ELEV,PNTELEV" "")&lt;BR /&gt;(setq old "SHOT"&lt;BR /&gt;new "RSHOT"&lt;BR /&gt;)&lt;BR /&gt;(if (and (setq obj (tblobjname "layer" old))&lt;BR /&gt;(setq enx (entget obj))&lt;BR /&gt;)&lt;BR /&gt;(entmod (subst (cons 2 new) (assoc 2 enx) enx))&lt;BR /&gt;)&lt;BR /&gt;(princ)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 11:20:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/can-i-use-a-carlson-command-in-autolisp/m-p/11522513#M39303</guid>
      <dc:creator>etilley327KA</dc:creator>
      <dc:date>2022-11-01T11:20:01Z</dc:date>
    </item>
  </channel>
</rss>

