Visual Basic Customization
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Trim
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
How to trim the object using VB coding
STM
Re: Trim
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
There is no specific code for trimming.
You can use send command to trim object.
Re: Trim
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks for your reply.
How to use sendcommand for crossing option as the crossing option does not accept co-ordinates. Instead it asks to pick a point on screen.I have attached a drawing, I have tried many ways to get the final output as you seen in the drawing but i cannot.
STM
Re: Trim
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Maybe an idea to get the objects, try to .IntersectWith and manually replace the last coordinate with the InterSect-Point? The last coordinate can be determined by the Clicked Points (I think you use GenEntity?)
Util..getentity Object1, PickPoint1
Util..getentity Object2, PickPoint2
IntersectPoint=object1.IntersectWith (Object2,acExtendNone)
IntersectPoint( [0-2] ) has the coordinates...
Peter

