+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Forum Newbie
    Using
    AutoCAD 2012
    Join Date
    Mar 2012
    Posts
    1

    Default Edit a Block via C#

    Registered forum members do not see this ad.

    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

  2. #2
    Forum Deity BlackBox's Avatar
    Using
    Civil 3D 2011
    Join Date
    Nov 2009
    Posts
    3,952

    Default

    Registered forum members do not see this ad.

    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'
    Last edited by BlackBox; 11th Mar 2012 at 06:51 pm.
    "Potential has a shelf life." - Margaret Atwood

Similar Threads

  1. edit block in place / block editor
    By jrn in forum AutoCAD 2D Drafting, Object Properties & Interface
    Replies: 3
    Last Post: 8th Jun 2010, 09:27 pm
  2. Block Edit
    By flowerrobot in forum AutoLISP, Visual LISP & DCL
    Replies: 4
    Last Post: 17th Jan 2010, 04:04 am
  3. Block Edit
    By johnengineer in forum AutoCAD Beginners' Area
    Replies: 17
    Last Post: 3rd Oct 2008, 05:02 pm
  4. Block Edit
    By CADgirl in forum AutoCAD Drawing Management & Output
    Replies: 19
    Last Post: 14th Feb 2008, 07:26 pm
  5. Block Edit
    By rabbitcookies in forum AutoCAD Drawing Management & Output
    Replies: 4
    Last Post: 1st Feb 2008, 05:31 pm

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts