<?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: dose anyone know of a vba trim in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/dose-anyone-know-of-a-vba-trim/m-p/1045221#M53813</link>
    <description>Are you sure they were deleted? Did you search the drive for *.dvb? I seriously doubt the uninstall prog deleted them. It only know about files it installed. Even if you stored them in a folder under acad, the folder would not have been deleted. For example, an uninstall usually leaves the Support folder if the user had put any custom menus there.

-- 
----
Ed
----
  "navi800" &lt;NAVI800&gt; wrote in message news:40bf40b6$1_3@newsprd01...
  well thanks to autocads wonderful uninstall program all the code I had done
  was trashed (deleted)
  but the method I am using is to define a region object then take that
  region's bounding box to select all the objects that cross it.  then I find
  all the intersection points for each entity and edit the entities separately
  doing lines is easy what imp having issues with is arcs. I had something
  that would work properly if the arc length was less than 180 degrees but now
  its gone.

  I could really use some help in rebuilding

  "JRWalker" &lt;REMOVE.JWALKER&gt; wrote in message
  news:40bf2d82_3@newsprd01...
  &amp;gt; Are you wanting user interaction or just to automatically trim some lines.
  I
  &amp;gt; have done one that trims lines outside of an enclosed defined area but it
  &amp;gt; was complicated. I had to create offsets from the original area and then
  &amp;gt; define all of the intersections so I could pick the lines to trim. What
  &amp;gt; direction are you going in?
  &amp;gt;
  &amp;gt;
  &amp;gt;
  &amp;gt; "navi800" &lt;NAVI800&gt; wrote in message
  &amp;gt; news:40b78601_1@newsprd01...
  &amp;gt; &amp;gt; this is realy just a general question,
  &amp;gt; &amp;gt;
  &amp;gt; &amp;gt; dose anyone know of a vba trim routine (im writing one and i just want
  to
  &amp;gt; &amp;gt; know if its been done or not)
  &amp;gt; &amp;gt;
  &amp;gt; &amp;gt; Navi
  &amp;gt; &amp;gt;
  &amp;gt; &amp;gt;
  &amp;gt;
  &amp;gt;&lt;/NAVI800&gt;&lt;/REMOVE.JWALKER&gt;&lt;/NAVI800&gt;</description>
    <pubDate>Thu, 03 Jun 2004 17:21:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2004-06-03T17:21:35Z</dc:date>
    <item>
      <title>dose anyone know of a vba trim</title>
      <link>https://forums.autodesk.com/t5/vba-forum/dose-anyone-know-of-a-vba-trim/m-p/1045217#M53809</link>
      <description>this is realy just a general question,

dose anyone know of a vba trim routine (im writing one and i just want to
know if its been done or not)

Navi</description>
      <pubDate>Fri, 28 May 2004 18:33:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/dose-anyone-know-of-a-vba-trim/m-p/1045217#M53809</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-05-28T18:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: dose anyone know of a vba trim</title>
      <link>https://forums.autodesk.com/t5/vba-forum/dose-anyone-know-of-a-vba-trim/m-p/1045218#M53810</link>
      <description>There's no TRIM capability in VBA or ActiveX. You can write your
own, which while not too hard for things like lines and arcs, is
not something I'd savor doing if the goal is to fully support all
entity types supported by the TRIM command (e.g., splines, ellipses
and polylines).

One of the lesser-understood concepts of trimming and breaking an
object, is object identity. What may not be obvious from the user's
perpspective, is that trimming an object like a CIRCLE, causes that
entity to be changed to an ARC (e.g., the resulting ARC has the same
handle, object id, and extended data as the original CIRCLE). Making
that happen is not possible in VBA or ActiveX, and can only be done
using ObjectARX.

If you're using and are limited to AutoCAD 2005, there is also the
Managed .NET Wrappers for ObjectARX, which makes it somewhat easier,
but requires fairly in-depth familiarity with ObjectARX classes.

&lt;SALES pitch=""&gt;

For any release of AutoCAD, the AcadX ActiveX Extension library
offers a Curve class that includes methods like Divide, Measure,
and Break, the latter of which can be used to relatively easily
TRIM any object that can be trimmed by the AutoCAD TRIM command.

AcadX also has methods that allow you to exchange the identities
of two objects (as per the CIRCLE-&amp;gt;ARC example discussed above),
so that you can emulate that aspect of the AutoCAD TRIM command
as well, which is very important if your objects are referenced
by other objects or external data, or if your objects have any
kind of application data (xdata or xdictionary based) associated
with them. Since AutoCAD itself routinely references objects for
things like draworder, this aspect of operations that involve
replacing one object with another, becomes much more important to
those who are serious about robust AutoCAD development.

Visit www.caddzone.com/acadx for more info.

&lt;/SALES&gt;

-- 
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005
http://www.acadxtabs.com


"navi800" &lt;NAVI800&gt; wrote in message news:40b78601_1@newsprd01...
&amp;gt; this is realy just a general question,
&amp;gt;
&amp;gt; dose anyone know of a vba trim routine (im writing one and i just want to
&amp;gt; know if its been done or not)
&amp;gt;
&amp;gt; Navi
&amp;gt;
&amp;gt;&lt;/NAVI800&gt;</description>
      <pubDate>Fri, 28 May 2004 21:47:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/dose-anyone-know-of-a-vba-trim/m-p/1045218#M53810</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-05-28T21:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: dose anyone know of a vba trim</title>
      <link>https://forums.autodesk.com/t5/vba-forum/dose-anyone-know-of-a-vba-trim/m-p/1045219#M53811</link>
      <description>Are you wanting user interaction or just to automatically trim some lines. I
have done one that trims lines outside of an enclosed defined area but it
was complicated. I had to create offsets from the original area and then
define all of the intersections so I could pick the lines to trim. What
direction are you going in?



"navi800" &lt;NAVI800&gt; wrote in message
news:40b78601_1@newsprd01...
&amp;gt; this is realy just a general question,
&amp;gt;
&amp;gt; dose anyone know of a vba trim routine (im writing one and i just want to
&amp;gt; know if its been done or not)
&amp;gt;
&amp;gt; Navi
&amp;gt;
&amp;gt;&lt;/NAVI800&gt;</description>
      <pubDate>Thu, 03 Jun 2004 13:54:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/dose-anyone-know-of-a-vba-trim/m-p/1045219#M53811</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-06-03T13:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: dose anyone know of a vba trim</title>
      <link>https://forums.autodesk.com/t5/vba-forum/dose-anyone-know-of-a-vba-trim/m-p/1045220#M53812</link>
      <description>well thanks to autocads wonderful uninstall program all the code I had done
was trashed (deleted)
but the method I am using is to define a region object then take that
region's bounding box to select all the objects that cross it.  then I find
all the intersection points for each entity and edit the entities separately
doing lines is easy what imp having issues with is arcs. I had something
that would work properly if the arc length was less than 180 degrees but now
its gone.

I could really use some help in rebuilding

"JRWalker" &lt;REMOVE.JWALKER&gt; wrote in message
news:40bf2d82_3@newsprd01...
&amp;gt; Are you wanting user interaction or just to automatically trim some lines.
I
&amp;gt; have done one that trims lines outside of an enclosed defined area but it
&amp;gt; was complicated. I had to create offsets from the original area and then
&amp;gt; define all of the intersections so I could pick the lines to trim. What
&amp;gt; direction are you going in?
&amp;gt;
&amp;gt;
&amp;gt;
&amp;gt; "navi800" &lt;NAVI800&gt; wrote in message
&amp;gt; news:40b78601_1@newsprd01...
&amp;gt; &amp;gt; this is realy just a general question,
&amp;gt; &amp;gt;
&amp;gt; &amp;gt; dose anyone know of a vba trim routine (im writing one and i just want
to
&amp;gt; &amp;gt; know if its been done or not)
&amp;gt; &amp;gt;
&amp;gt; &amp;gt; Navi
&amp;gt; &amp;gt;
&amp;gt; &amp;gt;
&amp;gt;
&amp;gt;&lt;/NAVI800&gt;&lt;/REMOVE.JWALKER&gt;</description>
      <pubDate>Thu, 03 Jun 2004 15:16:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/dose-anyone-know-of-a-vba-trim/m-p/1045220#M53812</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-06-03T15:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: dose anyone know of a vba trim</title>
      <link>https://forums.autodesk.com/t5/vba-forum/dose-anyone-know-of-a-vba-trim/m-p/1045221#M53813</link>
      <description>Are you sure they were deleted? Did you search the drive for *.dvb? I seriously doubt the uninstall prog deleted them. It only know about files it installed. Even if you stored them in a folder under acad, the folder would not have been deleted. For example, an uninstall usually leaves the Support folder if the user had put any custom menus there.

-- 
----
Ed
----
  "navi800" &lt;NAVI800&gt; wrote in message news:40bf40b6$1_3@newsprd01...
  well thanks to autocads wonderful uninstall program all the code I had done
  was trashed (deleted)
  but the method I am using is to define a region object then take that
  region's bounding box to select all the objects that cross it.  then I find
  all the intersection points for each entity and edit the entities separately
  doing lines is easy what imp having issues with is arcs. I had something
  that would work properly if the arc length was less than 180 degrees but now
  its gone.

  I could really use some help in rebuilding

  "JRWalker" &lt;REMOVE.JWALKER&gt; wrote in message
  news:40bf2d82_3@newsprd01...
  &amp;gt; Are you wanting user interaction or just to automatically trim some lines.
  I
  &amp;gt; have done one that trims lines outside of an enclosed defined area but it
  &amp;gt; was complicated. I had to create offsets from the original area and then
  &amp;gt; define all of the intersections so I could pick the lines to trim. What
  &amp;gt; direction are you going in?
  &amp;gt;
  &amp;gt;
  &amp;gt;
  &amp;gt; "navi800" &lt;NAVI800&gt; wrote in message
  &amp;gt; news:40b78601_1@newsprd01...
  &amp;gt; &amp;gt; this is realy just a general question,
  &amp;gt; &amp;gt;
  &amp;gt; &amp;gt; dose anyone know of a vba trim routine (im writing one and i just want
  to
  &amp;gt; &amp;gt; know if its been done or not)
  &amp;gt; &amp;gt;
  &amp;gt; &amp;gt; Navi
  &amp;gt; &amp;gt;
  &amp;gt; &amp;gt;
  &amp;gt;
  &amp;gt;&lt;/NAVI800&gt;&lt;/REMOVE.JWALKER&gt;&lt;/NAVI800&gt;</description>
      <pubDate>Thu, 03 Jun 2004 17:21:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/dose-anyone-know-of-a-vba-trim/m-p/1045221#M53813</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-06-03T17:21:35Z</dc:date>
    </item>
  </channel>
</rss>

