.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

WBlock with WCS coordinates

1 REPLY 1
Reply
Message 1 of 2
jimmie_fulton
459 Views, 1 Reply

WBlock with WCS coordinates

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.
1 REPLY 1
Message 2 of 2

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() : mostlyHarmless
I'm just here for the Shelties

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost