Custom Block in Autocad – link to Product Attribut

Forum Forums Autocad Blocks Custom Block in Autocad – link to Product Attribut

This topic contains 4 replies, has 3 voices, and was last updated by  Vic 2 years ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #6759 Reply

    Anton
    Participant

    I want to create my own custom blocks that represent certain items from the catalog. I want to assign certain product attributes to each of these blocks and choose whether to display them or not, much like most other blocks. I found an article for an older version of SI5 I think which sort of touches on it but I have tried and does not work. Is it simply a case of knowing the correct attribute names for the product variables, locations, system etc. An if so does someone know where I can find such a list?

    Thanks

    #8977 Reply

    Vic
    Moderator

    The following Attribute (tagname) list can be show (attribute value) on an AutoCAD D-Tools block.
    These attributes on a block are populated if the attributes exist.

    • Manufacturer
    • Model
    • Category
    • Type (Subcategory of project item)
    • ComponentId
    • CategoryId (abbreviation of project item category)
    • SKU or PartNumber
    • RackMount
    • RackUnits
    • HeadEnd
    • WireLength
    • UnitCost
    • UnitPrice
    • UnitLaborHrs
    • InstallPrice
    • ProductDescription
    • ClientDescription
    • Voltage
    • Amps
    • BTU
    • IPAddress
    • SerialNumber
    • Location
    • System
    • MSRP
    • Phase
    • Weight
    • Height
    • Width
    • Depth
    • CustomProperty1 or CustomField1
    • CustomProperty2 or CustomField2
    • CustomProperty3 or CustomField3
    • CustomProperty4 or CustomField4
    • CustomProperty5 or CustomField5
    • CustomProperty6 or CustomField6
    • CustomProperty7 or CustomField7
    • CustomProperty8 or CustomField8
    • CustomProperty9 or CustomField9
    • CustomProperty10 or CustomField10
    • CustomProperty11 or CustomField11
    • CustomProperty12 or CustomField12
    • CustomProperty13 or CustomField13
    • CustomProperty14 or CustomField14

    For dynamic blocks these parameters are populated
    • BlockHeight
    • BlockWidth
    • BlockDepth

    A block will scale H,W,D based on the measurement unit of the page if
    • Has an attribute “DTBlockName” with value “DTscaleBlock” the block
    • Has either of the 3 dynamic parameters – BlockHeight, BlockWidth, BlockDepth

    #8978 Reply

    Anton
    Participant

    Thank you for that!

    One more question, how do I go about getting these assigned to a product or make it available as part of the blocks available to the Project Editor?

    #8979 Reply

    Seth Enos
    Moderator

    When editing your block, click the [Attribute Definition] button and then fill in the Tag field with the attribute you wish to add:

    [attachment=358]attributedefinition.jpg[/attachment]

    Then place the text where you want it and repeat for any additional attributes you wish to add.

    #8980 Reply

    Vic
    Moderator

    If you need help to audit your block and ensure it works. Please let me know I can help you with it.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Custom Block in Autocad – link to Product Attribut
Your information:





<a href="" title="" rel="" target=""> <blockquote cite=""> <code> <pre> <em> <strong> <del datetime=""> <ul> <ol start=""> <li> <img src="" border="" alt="" height="" width="">