Results 1 to 9 of 9

Thread: sheduling attributes together with data in the property sets

  1. #1
    Member
    Join Date
    2005-02
    Posts
    22
    Login to Give a bone
    0

    Default sheduling attributes together with data in the property sets

    Hello,

    I'm looking for a way to put block attributes.in a schedule tag in order to schedule them with tools available and not with the block extraction tools.
    The aim is to combine the attributes with other data tagged to the object via property sets.

    Thanes in advance for any help.

    Jo

  2. #2
    Super Moderator dkoch's Avatar
    Join Date
    2003-03
    Location
    Philadelphia, PA
    Posts
    2,392
    Login to Give a bone
    0

    Default Re: sheduling attributes together with data in the property sets

    I have not tried this in 2007, but unless something was changed, this is not possible.

    The data "flow" in the Scheduling feature of ADT is different - the data resides on the object, as part of properties attached to the object through one or more Property Set Definitions. This data can, if desired, be displayed in a Schedule Tag, a Multi-View Block anchored to the object. The Multi-View Block Tag uses one or more attribute definitions that are part of one or more view blocks in the Multi-View Block Definition to show the data.

  3. #3
    Member
    Join Date
    2005-02
    Posts
    22
    Login to Give a bone
    0

    Wink Re: sheduling attributes together with data in the property sets

    Thanks,

    Maybe something for the wishlist

    JO

  4. #4
    Super Moderator dkoch's Avatar
    Join Date
    2003-03
    Location
    Philadelphia, PA
    Posts
    2,392
    Login to Give a bone
    0

    Default Re: sheduling attributes together with data in the property sets

    I did check this in ADT 2004 before making my reply, and the Automatic Property Sources for Block References did not include any way to get at attribute values. You might be able to do so with a Formula property, but I have never tried to do so, and if the block had more than one attribute, the Formula property would have to have some means of knowing which attribute to get, which could mean that you would need a custom PSD for each Block Definition.

    Assuming that nothing has changed in 2007, please add this as a wish. Take a look at the Wishlist Guidelines now posted in the new ADT/ABS Community pages.

  5. #5
    100 Club
    Join Date
    2005-03
    Location
    Derby, UK
    Posts
    194
    Login to Give a bone
    0

    Default Re: sheduling attributes together with data in the property sets

    Could you not just use a multi-view block instead of a regular block and substitute the attributes for property set definitions that can be stored on the multi-view block definition/style?

  6. #6
    Super Moderator dkoch's Avatar
    Join Date
    2003-03
    Location
    Philadelphia, PA
    Posts
    2,392
    Login to Give a bone
    0

    Default Re: sheduling attributes together with data in the property sets

    You can add property sets to plain old AutoCAD blocks, too. Multi-View Blocks would give you the advantage of a modicum of Display System control and also let you use style-based property sets.

  7. #7
    Member
    Join Date
    2005-02
    Posts
    22
    Login to Give a bone
    0

    Default Re: sheduling attributes together with data in the property sets

    David Koch latest tutorial on his blog brings up the idea of extracting Block Attributes data via a schedule tag.

    Items in the tag :
    - Object ID,
    - A formula :

    Set acadApp = GetObject(,"AutoCAD.Application")
    Set blockObj = acadApp.ActiveDocument.ObjectIDToObject([ObjectID])
    Attributen=blockObj.GetAttributes()
    Set L=Attributen(0).textString
    RESULT = L

    But without success. A check learns me that the "Attributen" aren't empty. But extracting data from the array is without success. Any help would be great and help me a lot.
    A sample file with my trials is joined.

    This method let you combine the best of attributes and scheduling.

    Sincerely yours and thanks in advance.

    Jo
    Attached Files Attached Files

  8. #8
    Super Moderator david_peterson's Avatar
    Join Date
    2002-09
    Location
    Madison, WI
    Posts
    5,688
    Login to Give a bone
    0

    Default Re: sheduling attributes together with data in the property sets

    A real dumb and dirty way would be use the old school Attext command to export your attribute data to an excel spread sheet. Just a thought.

  9. #9
    Super Moderator dkoch's Avatar
    Join Date
    2003-03
    Location
    Philadelphia, PA
    Posts
    2,392
    Login to Give a bone
    0

    Default Re: sheduling attributes together with data in the property sets

    Quote Originally Posted by jo.moens
    Set acadApp = GetObject(,"AutoCAD.Application")
    Set blockObj = acadApp.ActiveDocument.ObjectIDToObject([ObjectID])
    Attributen=blockObj.GetAttributes()
    Set L=Attributen(0).textString
    RESULT = L
    Well, that certainly looks promising. I am afraid my knowledge of the object model and the use of VBScript to pull information out of it is somewhat limited and generally accompanied by lots of trial and error and often includes a little help from others who have written VBA routines to access the same part of the object model that I am trying to get at in a formula.

    Deadlines at work will have me tied up in the foreseeable future, so if anyone else wants to jump in and explain how to get attribute values from a block with attributes [in VBScript or VBA], jump right in - I would be interested to see the code, too.

Similar Threads

  1. 2011: Property Data Sets
    By Chuckyd67 in forum ACA General
    Replies: 5
    Last Post: 2011-06-02, 02:14 AM
  2. 2011: Property Sets
    By brian.rouse540440 in forum AMEP General
    Replies: 2
    Last Post: 2011-05-07, 03:29 PM
  3. SCHEDULING ATTRIBUTES TOGETHER WITH DATA OF PROPERTY SETS
    By jo.moens in forum VBA/COM Interop
    Replies: 6
    Last Post: 2006-08-26, 12:39 AM
  4. Property Data Sets - Object Overrides
    By welk3d-cad1 in forum ACA Wish List
    Replies: 0
    Last Post: 2004-12-23, 03:17 PM

Posting Permissions

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