Issue
I’m in the process of migrating my VBA application to .NET in ACA. I noticed that the values of Width are different between the two API. For example, the width value displayed in the snoop tool (MgdDbgAec) shows as 6”, while on the property palette and in VBA, the width is 5 1/2”. I have a variable width component (5 1/2 “ in this case) represents a wood stud. This is the value that I need. The 1/2“ static component represents the gyp board.
Is there a way that I can get the variable component width value like I was able to in VBA?
Solution
There are two types of width properties for a wall in .NET: "InstanceWidth" and "Width". "InstanceWidth" is a base width, and "Width" is the total/overall width. In ActiveX, we have "Width", which is always base width. When you have a formula or variable width "BW" (base width) in your definition of compound structure, you will need to distinguish between the usages of these two widths.