The Scripts

Some scripts are inserted inside the Layout Block, others are inserted on the MultiPage Shopdrawing instances in Model Space.

  • sd_ViewDataExporter

    • Inserts up to 6 different Model Space scripts automatically during Shopdraw generation

    • Also publishes full ViewData information to SubMapX of the Shopdraw Entity itself (entCollector).

    • Inserted on ViewPlaceholders in the top level Layout Block

  • sd_ShopdrawDimInfoExporter

    • Performs dimension point analysis of Entities being displayed

    • Doing this in the Layout Block as opposed to having Models Space scripts calculate dimension points improves performance.

    • Multiple analysis algorithms and options are published and can be swapped between on the fly without regenerating the MP instance

  • sdMS_ShopdrawDimensions

    • My go-to Tsl for drawing dimensions

    • The “sdMS” prefix allows it to be listed by sd_ViewDataExporter for automatic insertion. Note there is currently a bug (17 September 2019) preventing the setting of Catalog Entries on these automatically inserted scripts

    • Provides only perpendicular text orientation, but this enables efficient text overlap prevention

    • Displays in Metric or Imperial independent of .dwg units.

    • Ordinate or Delta dimensions with Grip positioning

    • Variety of Rt-click commands to add or remove dimpoints

  • sd_ShopdrawDimManualMS

    • Provides the user with the ability to manually specify a dimension string with any points and any orientation

    • Grips for orientation and positioning adjustments

    • Automatic scaling of dimension values

  • sdMS_ShopDrawDetailView

    • Cuts section views of Shopdrawing Views with independent scaling and positioning

    • Also does magnified plan views with independent scaling

    • Supports sd_ShopdrawDimManualMS

  • sd_ViewGenerator

    • Inserted on a MP instance, generates standard views in MS, on the fly

    • Offers standard and custom scales

    • Has Properties for graphics (color, linetype…)

    • Compatible with sdMS_ShopdrawDimensions

  • FlippedReverseView

    • Back View orientation works in the European projection style. This script creates a US style back projection.

Step-by-Step: Setup a new Style

  1. Create a Title Block with Hsb Attributes

    1. This is a standard AutoCAD block with specially named Hsb specific Attributes.

    2. I highly recommend plotting @ 1:1, so size the title block in actual units to fit your intended paper

    3. You can read about available attributes in Hsb Settings => General Tab => Title Block Settings

  2. Create a Layout Block

    1. This Block is comprised of View Placeholders, Tsls, and the Title Block created in step #1

    2. Insert ViewPlaceholders with appropriate settings for scale, justification…

    3. Insert sd_ViewDataExporter, selecting all View Placeholders (optional)

      1. Set Properties to insert Model Space scripts, if desired.

      2. sd_ViewDataExporer is required to enable sd_ViewGenerator on generated MP Shops

    4. Insert sd_ShopdrawDimInfoExporter, selecting any View Placeholders you want to receive dimensions

    5. Insert any other Tsl instances you need, such as FlippedReverseView or Thorsten’s sd_PropertySetDisplay

    6. Define the AutoCAD Block with all of the above entities, define the insertion point as lower left corner of your title block

    7. Keep an instance of this block inserted for selection in step #3

  3. Create a new Style

    1. In this tutorial I’m assuming we’re doing a Beam detail drawing, so the type is Individual

    2. Pick the Layout Block created in step #2 as the Default Layout