Jump to content

Recommended Posts

Posted

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

Posted (edited)

Welcome to CADTutor!

 

Can I just say that you've taken on quite the challenge for your (first?) development project. :thumbsup:

 

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 by BlackBox

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...