.NET

Reply
Active Contributor
jimmie_fulton
Posts: 44
Registered: ‎04-06-2005
Message 1 of 2 (211 Views)

WBlock with WCS coordinates

211 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
jmaeding
Posts: 969
Registered: ‎12-27-2006
Message 2 of 2 (64 Views)

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.

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.