.NET

Reply
Active Contributor
44 Posts
0 Kudos
Registered: ‎04-06-2005
Post 1 of 2

WBlock with WCS coordinates

219 Views, 1 Replies
07-06-2005 09:53 AM
Hello,

I'm not typically an Autocad programmer, so bear with me.

Background: I'm building a batch drawing processor (c# on ADT2006) with a plugin architecture. It will be very similar to Photoshop's Actions. Currently, the system will not load drawings into the editor to work on them; only opened through DBX. I think I may cause it to switch into interactive mode if any of the actions specified require the editor interface, but I'm not to that point yet.

Anyway, one of the actions is a simple WBlock operation. Since we don't open this in the editor, the operation is pretty fast. My problem is that if the drawing's UCS is set to something other than WCS and the plan view is set to this UCS, the resulting database ends up with its WCS set to the previous UCS. Without the editor, what is the best way to set everything to correct view before wblocking? Now that I think about it, I'm not even sure how to do this with the editor without sendcommand type of operation. Any ideas appreciated.
Distinguished Contributor
1,087 Posts
56 Kudos
Registered: ‎12-27-2006
Post 2 of 2

Re: WBlock with WCS coordinates

11-15-2013 10:13 AM in reply to: jimmie_fulton

holy cow, just saw this from 2005 and I realized this is exactly the bug with Civil Batch converter.

If the UCS is user, it rotates and translates by the difference between.

 

We are desperate to get this dealt with. I will do a sub support request on it.

internal protected virtual unsafe Human()
http://onesmallstepforcad.com/

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!