To Create an AEC Content Custom Command for DesignCenter

In the AEC Content Wizard, select one or more content blocks, specify a command string, and save a new drawing that contains all the content of the current drawing. When the custom command is added to a target drawing from DesignCenter, the set of content blocks is copied into the target drawing and the routine is executed, enabling the custom command.

Following is a detailed example of a custom command that you can create in the AEC Content Wizard. This custom command string adds a schedule tag to a room symbol and creates the leader and tag with the desired style. AecAnnoScheduleTagAdd "C:\ProgramData\Autodesk\ACA <version>\enu\Styles\Imperial\Schedule Tables (Imperial).dwg" _symbol aec3_room_tag _leader _none _dimstyle _current

The equivalent prompts on the command line are as follows; however, entering text for custom commands on the command line is not recommended. Custom commands should be created with the AEC Content Wizard.

AnnoScheduleTagAdd

Property set definitions drawing <C:\ProgramData\Autodesk\ACA <version>\enu\Styles\Imperial\Schedule Tables (Imperial).dwg>

Select object to tag [Symbol/Leader/Dimstyle/Edit/Constrain/Rotation]:Symbol

Enter tag symbol name <>: Aec3_Room_Tag_

Select object to tag [Symbol/Leader/Dimstyle/Edit/Constrain/Rotation]:Leader

Enter leader type [None/STraight/SPline] <None>:None

Select object to tag [Symbol/Leader/Dimstyle/Edit/Constrain/Rotation]:Dimstyle

Enter leader dimstyle CURRENT <Aec-Arch-I-96>: Current

Select object to tag [Symbol/Leader/Dimstyle/Edit]:

  1. On the command line, enter aeccreatecontent.
  2. Select Custom Command for Content Type.

    All the defined blocks in the current drawing, regardless of type, are displayed in Current Drawing.

  3. Select one or more blocks for Current Drawing, and click Add.
  4. Enter the command string for Custom String.

    You can also click Expand to display the Custom Command String dialog box, and enter the command string.

    The command string is limited to 255 characters.

  5. Click Next.
  6. Specify an insertion method for Insert Options:
    If you want to... Then...
    specify an elevation enter a value for Preset Elevation.
    specify an anchor type select a type of anchor for Anchor Type.
  7. Specify an insertion scale factor for Scale:
    If you want to... Then...
    scale the drawing instance using a coordinate (X, Y, Z) direction enter values for X, Y, and Z for Scale.
    apply no additional scaling method to the drawing instance select None for Additional Scaling.
    scale the drawing instance by the annotation scale of the drawing you are adding the block to select Annotation for Additional Scaling.
    scale the drawing instance by the drawing units of the drawing you are adding the block to select Drawing for Additional Scaling.
    scale the drawing definition by the drawing units of the drawing you are adding the block to select Enable AEC Unit Scaling.
  8. Specify an angle for Attribute Text Angle:
    If you want to... Then...
    assign the angle of the attribute text to be the same as the rotation angle of the drawing select As Inserted.
    set the angle of the attribute text to zero select Force Horizontal.
    be able to read the attribute text from the right direction select Right Reading.
  9. Click Select Layer Key, select a layer key, and click OK.

    You can also enter a layer name for Layer Key.

  10. Click Next.
  11. Enter a name for File Name, or click Browse.

    If you want to save the current drawing as the content file, select Current Drawing.

  12. Select an image for Icon to represent the drawing in DesignCenter:
    If you want to... Then...
    specify an existing bitmap image click New Icon, select an image, and click OK.
    specify the default image of the drawing itself click Default Icon.
  13. Enter a description for Detailed Description.
  14. Click Finish.