<?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: Block Insert Jig Byblock Color in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/block-insert-jig-byblock-color/m-p/2918750#M79408</link>
    <description>&lt;P&gt;I know this is a bump but Caddie75 thanks for the code!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Man I don't know how many issues I've been trying to get something like this to work simply like this.&amp;nbsp; Now to figure out how to add more functions to it.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Feb 2011 17:33:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-02-16T17:33:40Z</dc:date>
    <item>
      <title>Block Insert Jig Byblock Color</title>
      <link>https://forums.autodesk.com/t5/net-forum/block-insert-jig-byblock-color/m-p/1855637#M79403</link>
      <description>Hi you all&lt;BR /&gt;
&lt;BR /&gt;
I've experiencing a strange problem:&lt;BR /&gt;
&lt;BR /&gt;
I've written a Jig function to insert blocks, with help of this group. &lt;BR /&gt;
&lt;BR /&gt;
Now it gave me a fatal error on certain blocks. (these blocks can correctly be placed by "insert" of Autocad).&lt;BR /&gt;
&lt;BR /&gt;
I've narrowed it down to elements in the block that have their color set "ByBlock", if all elements are bylayer...no problem, if one ore more elements are byblock autocad crashes...on the first jigoption (insertpoint)...&lt;BR /&gt;
&lt;BR /&gt;
Does anybody experience this also....or should something be changed to the code...&lt;BR /&gt;
&lt;BR /&gt;
Can somebody try it.....&lt;BR /&gt;
I'm using Autocad 2007, XP Pro, and I build the project with VS2005 express edition&lt;BR /&gt;
&lt;BR /&gt;
A Caddie&lt;BR /&gt;
(I hope it's not a bug...in autocad .NET)</description>
      <pubDate>Fri, 05 Jan 2007 18:47:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/block-insert-jig-byblock-color/m-p/1855637#M79403</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-01-05T18:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Block Insert Jig Byblock Color</title>
      <link>https://forums.autodesk.com/t5/net-forum/block-insert-jig-byblock-color/m-p/1855638#M79404</link>
      <description>Never mind.&lt;BR /&gt;
Solved it.</description>
      <pubDate>Sat, 06 Jan 2007 23:50:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/block-insert-jig-byblock-color/m-p/1855638#M79404</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-01-06T23:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Block Insert Jig Byblock Color</title>
      <link>https://forums.autodesk.com/t5/net-forum/block-insert-jig-byblock-color/m-p/1855639#M79405</link>
      <description>Care to share it, in case anyone else is following the thread?&lt;BR /&gt;
&lt;BR /&gt;
&lt;CADDIE75&gt; wrote in message news:5443370@discussion.autodesk.com...&lt;BR /&gt;
Never mind.&lt;BR /&gt;
Solved it.&lt;/CADDIE75&gt;</description>
      <pubDate>Mon, 08 Jan 2007 15:40:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/block-insert-jig-byblock-color/m-p/1855639#M79405</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-01-08T15:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Block Insert Jig Byblock Color</title>
      <link>https://forums.autodesk.com/t5/net-forum/block-insert-jig-byblock-color/m-p/1855640#M79406</link>
      <description>Hi Tom,&lt;BR /&gt;
&lt;BR /&gt;
Well, actually I taught I solved it....in the meanwhile I think I did it, with various codes (snippets) posted in this Group, and the autocad samples&lt;BR /&gt;
&lt;BR /&gt;
I had some written in VB and in C#, this is now completely in C#&lt;BR /&gt;
&lt;BR /&gt;
I've attached the project (as far as it is), remove the ".txt" and unzip the project.&lt;BR /&gt;
&lt;BR /&gt;
There are 3 classes in it:&lt;BR /&gt;
1. Insertion of a Drawing as block. (an alternative blockname possible)&lt;BR /&gt;
2. Insert a block, with the help of Jig.&lt;BR /&gt;
- Insertpoint and rotation.&lt;BR /&gt;
Scale must be set before, standard 1, also the rotation can already be given...&lt;BR /&gt;
&lt;BR /&gt;
ps. the project can be referenced...&lt;BR /&gt;
Also the 3e Class "Commands", I've put a commandmethode sample in it to insert a drawing and then insert a block into the drawing&lt;BR /&gt;
&lt;BR /&gt;
For now I'm satisfied with it, when the other projects of mine are ready (whish) I'll expand it with extra properties like a Layer to place the block on (and color) maybe commandline options, and to place the block directly without Jig ....&lt;BR /&gt;
Well I see.&lt;BR /&gt;
&lt;BR /&gt;
Have Fun with it, and thanks to those that pointed me in the right direction.&lt;BR /&gt;
&lt;BR /&gt;
Some Info:&lt;BR /&gt;
AutoCAD 2007&lt;BR /&gt;
Windows XP Pro Sp2&lt;BR /&gt;
Microsoft Visual C# 2005 Express Edition&lt;BR /&gt;
&lt;BR /&gt;
First project I post here, just started with VB.Net (±2 months) after tried VBA..(had problems with it, sendcommand, some visual effect, limited controls etc..)&lt;BR /&gt;
&lt;BR /&gt;
Let me know if You can do something with it.&lt;BR /&gt;
Regards&lt;BR /&gt;
A Caddie</description>
      <pubDate>Mon, 08 Jan 2007 17:32:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/block-insert-jig-byblock-color/m-p/1855640#M79406</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-01-08T17:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Block Insert Jig Byblock Color</title>
      <link>https://forums.autodesk.com/t5/net-forum/block-insert-jig-byblock-color/m-p/1855641#M79407</link>
      <description>Thank you much for sharing the info, caddie.&lt;BR /&gt;
&lt;BR /&gt;
&lt;CADDIE75&gt; wrote in message news:5444290@discussion.autodesk.com...&lt;BR /&gt;
Hi Tom,&lt;BR /&gt;
&lt;BR /&gt;
Well, actually I taught I solved it....in the meanwhile I think I did it, &lt;BR /&gt;
with various codes (snippets) posted in this Group, and the autocad samples&lt;BR /&gt;
&lt;SNIPPED&gt;&lt;/SNIPPED&gt;&lt;/CADDIE75&gt;</description>
      <pubDate>Mon, 08 Jan 2007 19:22:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/block-insert-jig-byblock-color/m-p/1855641#M79407</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-01-08T19:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Block Insert Jig Byblock Color</title>
      <link>https://forums.autodesk.com/t5/net-forum/block-insert-jig-byblock-color/m-p/2918750#M79408</link>
      <description>&lt;P&gt;I know this is a bump but Caddie75 thanks for the code!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Man I don't know how many issues I've been trying to get something like this to work simply like this.&amp;nbsp; Now to figure out how to add more functions to it.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2011 17:33:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/block-insert-jig-byblock-color/m-p/2918750#M79408</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-16T17:33:40Z</dc:date>
    </item>
  </channel>
</rss>

