<?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: Editor.Command and Layer.... in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/editor-command-and-layer/m-p/5592582#M40518</link>
    <description>&lt;P&gt;also tried it as a session command.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Apr 2015 07:02:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-04-15T07:02:57Z</dc:date>
    <item>
      <title>Editor.Command and Layer....</title>
      <link>https://forums.autodesk.com/t5/net-forum/editor-command-and-layer/m-p/5592549#M40516</link>
      <description>&lt;P&gt;ok. I'm trying to use the editor.command method. it's in a modal command but is being called from events like "newFocus" or "layoutswitched".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;still, I'm confused on why I get eInvalidInput no matter what I try.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if&lt;/P&gt;&lt;P&gt;ed=doc.editor&lt;/P&gt;&lt;P&gt;dim layname as string = layerToBeSwitchedOn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then I've tryied:&lt;/P&gt;&lt;P&gt;Ed.Command("_.-LAYER", "ON", LayerName)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ed.Command("_.-LAYER", "ON", LayerName,"","")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ed.Command("_.-LAYER", "ON", LayerName,vbcr,vbcr)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ed.Command("_.-LAYER", "ON", LayerName,vblf,vblf)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ed.Command("-LAYER", "ON", LayerName)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ed.Command("-LAYER", "ON", LayerName,"","")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ed.Command("-LAYER", "ON", LayerName,vbcr,vbcr)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ed.Command("-LAYER", "ON", LayerName,vblf,vblf)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;apparently, none of which is valid. please explain?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2015 06:33:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/editor-command-and-layer/m-p/5592549#M40516</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-15T06:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Editor.Command and Layer....</title>
      <link>https://forums.autodesk.com/t5/net-forum/editor-command-and-layer/m-p/5592581#M40517</link>
      <description>&lt;P&gt;also tried,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ed.Command("_.-LAYER", "ON", LayerName,"")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ed.Command(new Object() {"_.-LAYER", "ON", LayerName,""})&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ed.Command(new Object() {"_.-LAYER", "ON", LayerName,"",""})&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;just, cause.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2015 07:02:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/editor-command-and-layer/m-p/5592581#M40517</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-15T07:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Editor.Command and Layer....</title>
      <link>https://forums.autodesk.com/t5/net-forum/editor-command-and-layer/m-p/5592582#M40518</link>
      <description>&lt;P&gt;also tried it as a session command.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2015 07:02:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/editor-command-and-layer/m-p/5592582#M40518</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-15T07:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Editor.Command and Layer....</title>
      <link>https://forums.autodesk.com/t5/net-forum/editor-command-and-layer/m-p/5594391#M40519</link>
      <description>&lt;P&gt;gave up, did it though non command line code.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2015 05:30:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/editor-command-and-layer/m-p/5594391#M40519</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-16T05:30:51Z</dc:date>
    </item>
  </channel>
</rss>

