Author Topic: Extended Dimension Problem  (Read 96 times)


  • Newbie
  • *
  • Posts: 1
Extended Dimension Problem
« on: May 12, 2017, 03:51:53 PM »
I have been updating my program written in VB6 to work with the latest version of desingcad, however I am having an issue with extended dimensions, the snippet of code is below:

DcDimExt.Alignment = dcAlignVertical
dcpts.SetCommandPoint (-35 * g), 0, 0
dcpts.SetCommandPoint (-35 * g), lpy11, 0
dcpts.SetCommandPoint (-35 * g), b, 0
dcpts.SetCommandPoint (-d * g), b, 0

On the attachedment the dimensions on the right is what the program is giving me and the dimensions on the left is what it should look like.
This code works just fine in Desingcad 14 however seems to not work for some reason with the later versions tried both desingcad 23 and 2016.

Any ideas as to what I am doing wrong?


  • Hero Member
  • *****
  • Posts: 823
Re: Extended Dimension Problem
« Reply #1 on: May 12, 2017, 05:17:08 PM »

If your code was written for Dcad14 and it has problems with later versions, the problem may be due to the changes in dims that were made about V17 or V18 to make Dcad more compatible to Acad for dims. DT will have more info for you and this is just a guess by me.
User since ProDesign 1.5

Rob S

  • Hero Member
  • *****
  • Posts: 4261
    • Construction Estimating Program for General Contractors
Re: Extended Dimension Problem
« Reply #2 on: May 13, 2017, 07:41:10 AM »
I realize macro code is different from VB6 code, but possibly if you record a macro and place the dimension as you would like it to be, the recorded macro will show all the parameters needed to draw such a dimension.

Then you might be able to figure from that how to modify your VB code
User since Pro-design


  • Kindly Curmudgeon
  • Administrator
  • *****
  • Posts: 4091
Re: Extended Dimension Problem
« Reply #3 on: May 15, 2017, 09:44:40 AM »
Looks like you're getting a progressive instead of extended dimension... I'll take a look when I get a chance.
2016 marks my 24th year in DesignCAD-Land!