How to add your knowledge

Sample Programs

    BatchEditLabelTextSample

    <installation-directory>\Sample\Civil 3D API\DotNet\CSharp\BatchEditLabelTextSample\

    This sample prompts the user to select multiple alignment labels, then it prompts for some input text, and replaces the original text for all selected labels.

    CommandSettingsSample

    <installation-directory>\Sample\Civil 3D API\DotNet\CSharp\CommandSettingsSample\

    This sample demonstrates how to iterate through all the command settings defined in a drawing using Reflection. All commands are exported to an xml file.

    CompareStyles

    <installation-directory>\Sample\Civil 3D API\DotNet\CSharp\CompareStyles\

    This sample illustrates how to compare styles defined in two drawings.

    DraggedLabelSample

    <installation-directory>\Sample\Civil 3D API\DotNet\CSharp\DraggedLabelSample\

    This sample illustrates how to add a new label in a dragged state.

    EditLabelStyleSample

    <installation-directory>\Sample\Civil 3D API\DotNet\CSharp\EditLabelStyleSample\

    This sample illustrates how to batch copy label styles from one label to multiple selected labels.