<?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 : In Autolisp DCL, Can I create image button by insertion of image format lik in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/in-autolisp-dcl-can-i-create-image-button-by-insertion-of-image/m-p/6718065#M126061</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can't use bitmap into dcl, only slide.&lt;BR /&gt;But you have &lt;A title="Pixel Extractor" href="https://www.theswamp.org/index.php?topic=42529.0" target="_self"&gt;this topic&lt;/A&gt; who shows how to transform an picture&amp;nbsp;into points usable in dcl.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;@+&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2016 10:15:06 GMT</pubDate>
    <dc:creator>patrick_35</dc:creator>
    <dc:date>2016-11-30T10:15:06Z</dc:date>
    <item>
      <title>In Autolisp DCL, Can I create image button by insertion of image format like JPG</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/in-autolisp-dcl-can-i-create-image-button-by-insertion-of-image/m-p/6717932#M126060</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need a help. Currently I am new to the Autolisp DCL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;1. Query:-&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;In Autolisp DCL, I would like to insert image format like "JPG" or "TIF".&lt;/P&gt;&lt;P&gt;Instead of "SLD" slide format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;2. Sample DCL:-&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;lisp48o : dialog { //dialog name&lt;BR /&gt;label = "Test" ; //give it a label&lt;BR /&gt;&lt;BR /&gt;: row { //begin row&lt;/P&gt;&lt;P&gt;: boxed_column {&lt;BR /&gt;label = "Gas baffle image";&lt;BR /&gt;&lt;STRONG&gt;: image&lt;/STRONG&gt; { //define image tile&lt;BR /&gt;key = "im3" ; //give it a name&lt;BR /&gt;height = 40.0 ; //add a height&lt;BR /&gt;width = 100.0 ; //and now a width&lt;BR /&gt;fixed_width = true; //fix the width&lt;BR /&gt;fixed_height = true; //fix the height&lt;BR /&gt;color = graphics_background; //set background color&lt;BR /&gt;}//end image&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;3. Autolisp code for DCL&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;(setq w (dimx_tile "im3") ;get image tile width&lt;BR /&gt;h (dimy_tile "im3") ;get image tile height&lt;BR /&gt;&lt;BR /&gt;);setq&lt;/P&gt;&lt;P&gt;(start_image "im3") ;start the image&lt;BR /&gt;&lt;BR /&gt;;;(fill_image 100 -5 (* w 10) (* h 10) 250) ;1 = AutoCAD red.&lt;/P&gt;&lt;P&gt;;display a slide&lt;BR /&gt;(slide_image -200 10 (* w 3) (* h 1) "C:\\&lt;STRONG&gt;GB_Top_leftview-1a.sld&lt;/STRONG&gt;")&lt;BR /&gt;&lt;BR /&gt;(end_image)&lt;/P&gt;&lt;P&gt;.........&lt;/P&gt;&lt;P&gt;................&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can some one help me out?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;S.Muruganandam&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2016 08:39:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/in-autolisp-dcl-can-i-create-image-button-by-insertion-of-image/m-p/6717932#M126060</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-30T08:39:03Z</dc:date>
    </item>
    <item>
      <title>Re : In Autolisp DCL, Can I create image button by insertion of image format lik</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/in-autolisp-dcl-can-i-create-image-button-by-insertion-of-image/m-p/6718065#M126061</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can't use bitmap into dcl, only slide.&lt;BR /&gt;But you have &lt;A title="Pixel Extractor" href="https://www.theswamp.org/index.php?topic=42529.0" target="_self"&gt;this topic&lt;/A&gt; who shows how to transform an picture&amp;nbsp;into points usable in dcl.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;@+&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2016 10:15:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/in-autolisp-dcl-can-i-create-image-button-by-insertion-of-image/m-p/6718065#M126061</guid>
      <dc:creator>patrick_35</dc:creator>
      <dc:date>2016-11-30T10:15:06Z</dc:date>
    </item>
  </channel>
</rss>

