View Full Version : How to draw a linear dimension in Acad with
VBA? 25th Jun 2010, 08:06 am Any advice? Haven't really found
any tutorials /answers on this part 25th Jun 2010, 08:56 am A
linear dimension is referred to as DimRotated in the VBA api.
This is the example used in the Developer Documentation. Is that
any help? 25th Jun 2010, 09:00 am Yeah! Tried to look inside the
help file, but i somehow missed the developer documentation :D.
P.S.: In this example and others, I've seen stuff like
point1(0)=0#: what does # do and what does : do? 25th Jun 2010,
09:05 am The # symbolizes a “Double” data type. It is inserted
automatically by the VBAIDE. If point1(0)=0.0 is typed in, it
will automatically convert to point1(0)=0# The : allows more
than one statement per line of code. so point1(0)=0#:
point1(1)=0#: point1(2)=1# 13th Jul 2010, 10:34 am There are a
few times I cheated with AutoCAD because using the COM
connection had problems. One decent cheat you can experiment
with is the AutoCAD .sendcommand method/ s