Add Grid Marks to a Grid Line Using An XRecord in the ine’s Extension Dictionary (AutoCAD .net API)

Demo of a little command I wrote:

Precast Command: Add Marks To Grid Lines from Tek1 on Vimeo.

The following command demonstrates two things:

• We are attaching data to a line (via an XRecrod added to that line’s extension dicationary). • We are displaying it using a Line Overrule. (using the Overrules API). • We are matching the Mtext to a particular line using proximity. The closest Mtext to a particular line will have its contents attached to that line as an XRecord.

Written on January 11, 2019