klahie Posted March 10, 2012 Share Posted March 10, 2012 Hi community, my job is to make an editor for blocks in C#. There should be a WPF-window were the user can see a list of blocks. He selects one and than he should see an overview about block attributes like insertionpoint, basepoint, rotation and scaling and he should be able to edit these attributes in this form. I know how i can populate a list of block names, but I fail at finding an opportunity to edit these attributes. I get the blocktablerecords, but then? I am very, very new to Autocad, and I've googled the last five hours unsuccessfully for a solution which is suitable for my problem. Please help me, it is very urgent! Kind regards, Klaus Quote Link to comment Share on other sites More sharing options...
BlackBox Posted March 11, 2012 Share Posted March 11, 2012 (edited) Welcome to CADTutor! Can I just say that you've taken on quite the challenge for your (first?) development project. Without seeing your code, it *sounds* like you need to use a Transaction to Open the Block Object ForRead... More information here. From there, you should be able to query any information you need. HTH Edit - Corrected linked text; now goes to 'Open and Close Objects without the Transaction Manager' Edited March 11, 2012 by BlackBox Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.