<?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: Using REVCLOUD with Editor.Command() in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/using-revcloud-with-editor-command/m-p/12217704#M7527</link>
    <description>&lt;P&gt;Sorry for the late response. Here's the code.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;[CommandMethod("MYCOMMAND")]
public static void TestRevCloud()
{
    Document doc = acApp.DocumentManager.MdiActiveDocument;
    Database db = doc.Database;
    Editor ed = doc.Editor;
    double scale = 12;
    ed.Command("_.REVCLOUD", "_ARC", 0.25 * scale, 0.25 * scale);
}
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is message when I use the "MYCOMMAND"&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Command: MYCOMMAND

Minimum arc length: 0.5000 Maximum arc length: 0.5000 Style: Normal Type: Freehand
Specify start point or [Arc length/Object/Style] &amp;lt;Object&amp;gt;: *Cancel*&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following message is when I use the "REVCLOUD" which is the AutoCAD command&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Command: REVCLOUD

Minimum arc length: 0.5000 Maximum arc length: 0.5000 Style: Normal Type: Rectangular
Specify first corner point or [Arc length/Object/Rectangular/Polygonal/Freehand/Style/Modify] &amp;lt;Object&amp;gt;: *Cancel*&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They show different options when picking a point and the command sent through Editor.Command doesn't have options like "Rectangular", "Polygonal",.. and it forces the user to use the "Freehand" type only.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Sep 2023 02:17:58 GMT</pubDate>
    <dc:creator>tvhlong93</dc:creator>
    <dc:date>2023-09-05T02:17:58Z</dc:date>
    <item>
      <title>Using REVCLOUD with Editor.Command()</title>
      <link>https://forums.autodesk.com/t5/net-forum/using-revcloud-with-editor-command/m-p/12206054#M7525</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to use the REVCLOUD command via .NET. But when I use the command by Editor.Command(), it has different options between using the REVCLOUD command in AutoCAD.&lt;/P&gt;&lt;P&gt;Why are the options different? And how can I get all the options? Please help me with this problem. Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tvhlong93_0-1693379006630.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1259787iABED22E447B67B66/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tvhlong93_0-1693379006630.png" alt="tvhlong93_0-1693379006630.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Command: MYCOMMAND&lt;/P&gt;&lt;P&gt;Minimum arc length: 0.5000 Maximum arc length: 0.5000 Style: Normal Type: Freehand&lt;BR /&gt;Specify start point or [Arc length/Object/Style] &amp;lt;Object&amp;gt;: *Cancel*&lt;/P&gt;&lt;P&gt;Select insertion point: *Cancel*&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Command: REVCLOUD&lt;/P&gt;&lt;P&gt;Minimum arc length: 12.0000 Maximum arc length: 12.0000 Style: Normal Type: Rectangular&lt;BR /&gt;Specify first corner point or [Arc length/Object/Rectangular/Polygonal/Freehand/Style/Modify] &amp;lt;Object&amp;gt;: *Cancel*&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 07:10:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/using-revcloud-with-editor-command/m-p/12206054#M7525</guid>
      <dc:creator>tvhlong93</dc:creator>
      <dc:date>2023-08-30T07:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using REVCLOUD with Editor.Command()</title>
      <link>https://forums.autodesk.com/t5/net-forum/using-revcloud-with-editor-command/m-p/12208718#M7526</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can you please share the code which can be used to reproduce the issue..like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[CommandMethod("testREVCLOUD")]&lt;BR /&gt;public void testREVCLOUD()&lt;BR /&gt;{&lt;BR /&gt;Editor ed = Application.DocumentManager.MdiActiveDocument.Editor;&lt;BR /&gt;ed.Command("_.REVCLOUD", "_Arc", 4.0, 4.0);&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 06:44:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/using-revcloud-with-editor-command/m-p/12208718#M7526</guid>
      <dc:creator>Virupaksha_aithal</dc:creator>
      <dc:date>2023-08-31T06:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using REVCLOUD with Editor.Command()</title>
      <link>https://forums.autodesk.com/t5/net-forum/using-revcloud-with-editor-command/m-p/12217704#M7527</link>
      <description>&lt;P&gt;Sorry for the late response. Here's the code.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;[CommandMethod("MYCOMMAND")]
public static void TestRevCloud()
{
    Document doc = acApp.DocumentManager.MdiActiveDocument;
    Database db = doc.Database;
    Editor ed = doc.Editor;
    double scale = 12;
    ed.Command("_.REVCLOUD", "_ARC", 0.25 * scale, 0.25 * scale);
}
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is message when I use the "MYCOMMAND"&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Command: MYCOMMAND

Minimum arc length: 0.5000 Maximum arc length: 0.5000 Style: Normal Type: Freehand
Specify start point or [Arc length/Object/Style] &amp;lt;Object&amp;gt;: *Cancel*&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following message is when I use the "REVCLOUD" which is the AutoCAD command&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Command: REVCLOUD

Minimum arc length: 0.5000 Maximum arc length: 0.5000 Style: Normal Type: Rectangular
Specify first corner point or [Arc length/Object/Rectangular/Polygonal/Freehand/Style/Modify] &amp;lt;Object&amp;gt;: *Cancel*&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They show different options when picking a point and the command sent through Editor.Command doesn't have options like "Rectangular", "Polygonal",.. and it forces the user to use the "Freehand" type only.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 02:17:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/using-revcloud-with-editor-command/m-p/12217704#M7527</guid>
      <dc:creator>tvhlong93</dc:creator>
      <dc:date>2023-09-05T02:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using REVCLOUD with Editor.Command()</title>
      <link>https://forums.autodesk.com/t5/net-forum/using-revcloud-with-editor-command/m-p/12231470#M7528</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;not sure why you are getting the mentioned results in AutoCAD. I am attaching the output of your code at my end.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="autocad_commandline.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1264579iDCB735CF1F82B231/image-size/large?v=v2&amp;amp;px=999" role="button" title="autocad_commandline.png" alt="autocad_commandline.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 09:09:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/using-revcloud-with-editor-command/m-p/12231470#M7528</guid>
      <dc:creator>Virupaksha_aithal</dc:creator>
      <dc:date>2023-09-11T09:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using REVCLOUD with Editor.Command()</title>
      <link>https://forums.autodesk.com/t5/net-forum/using-revcloud-with-editor-command/m-p/12233403#M7529</link>
      <description>&lt;P&gt;Yes, the command only has three options: [Arc length/Object/Style]. Options in the image are missing (in red color).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tvhlong93_0-1694479797696.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1264929iE9925EA6E4836C73/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tvhlong93_0-1694479797696.png" alt="tvhlong93_0-1694479797696.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want my custom command to act like a normal REVCLOUD command which has full option.&lt;BR /&gt;For more information, I am referring to AutoCAD 2020 API.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 00:53:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/using-revcloud-with-editor-command/m-p/12233403#M7529</guid>
      <dc:creator>tvhlong93</dc:creator>
      <dc:date>2023-09-12T00:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using REVCLOUD with Editor.Command()</title>
      <link>https://forums.autodesk.com/t5/net-forum/using-revcloud-with-editor-command/m-p/12233748#M7530</link>
      <description>&lt;P&gt;Thanks for the image. Try&amp;nbsp;SendStringToExecute API. This API normally simulates AutoCAD UI behavior.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note :&amp;nbsp;SendStringToExecute works&amp;nbsp;asynchronously .&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 05:42:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/using-revcloud-with-editor-command/m-p/12233748#M7530</guid>
      <dc:creator>Virupaksha_aithal</dc:creator>
      <dc:date>2023-09-12T05:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using REVCLOUD with Editor.Command()</title>
      <link>https://forums.autodesk.com/t5/net-forum/using-revcloud-with-editor-command/m-p/12234023#M7531</link>
      <description>&lt;P&gt;You can try set &lt;STRONG&gt;Editor.InitCommandVersion&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 08:20:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/using-revcloud-with-editor-command/m-p/12234023#M7531</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2023-09-12T08:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using REVCLOUD with Editor.Command()</title>
      <link>https://forums.autodesk.com/t5/net-forum/using-revcloud-with-editor-command/m-p/12234068#M7532</link>
      <description>I still have some code after that so I skip this method at the start. The answer of Alexander.Rivilis has solved this problem with Editor.InitCommandVersion(2).&lt;BR /&gt;Thank you for your support.</description>
      <pubDate>Tue, 12 Sep 2023 08:36:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/using-revcloud-with-editor-command/m-p/12234068#M7532</guid>
      <dc:creator>tvhlong93</dc:creator>
      <dc:date>2023-09-12T08:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using REVCLOUD with Editor.Command()</title>
      <link>https://forums.autodesk.com/t5/net-forum/using-revcloud-with-editor-command/m-p/12234076#M7533</link>
      <description>&lt;P&gt;Thank you very much.&lt;BR /&gt;Do you have any information about the input version, please send me the document about it for reference if you have one. I can only find the information below but it doesn't help much. Anyway, I tried with Editor.InitCommandVersion(2) and it worked as expected.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tvhlong93_0-1694507978115.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1265076i3B890CA6AE452368/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tvhlong93_0-1694507978115.png" alt="tvhlong93_0-1694507978115.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 08:41:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/using-revcloud-with-editor-command/m-p/12234076#M7533</guid>
      <dc:creator>tvhlong93</dc:creator>
      <dc:date>2023-09-12T08:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using REVCLOUD with Editor.Command()</title>
      <link>https://forums.autodesk.com/t5/net-forum/using-revcloud-with-editor-command/m-p/12234097#M7534</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4040495"&gt;@tvhlong93&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry, but there is no other (public) document, which describe using this method.&lt;/P&gt;
&lt;P&gt;Also read this post:&amp;nbsp;&lt;A href="https://adndevblog.typepad.com/autocad/2015/10/creating-a-rectangular-revcloud-using-acedcommands.html" target="_blank"&gt;https://adndevblog.typepad.com/autocad/2015/10/creating-a-rectangular-revcloud-using-acedcommands.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 08:47:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/using-revcloud-with-editor-command/m-p/12234097#M7534</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2023-09-12T08:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using REVCLOUD with Editor.Command()</title>
      <link>https://forums.autodesk.com/t5/net-forum/using-revcloud-with-editor-command/m-p/12234102#M7535</link>
      <description>Thank you. I get the ideas.</description>
      <pubDate>Tue, 12 Sep 2023 08:52:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/using-revcloud-with-editor-command/m-p/12234102#M7535</guid>
      <dc:creator>tvhlong93</dc:creator>
      <dc:date>2023-09-12T08:52:34Z</dc:date>
    </item>
  </channel>
</rss>

