Movement of dimensions in dynamic blocks

Movement of dimensions in dynamic blocks

kalidhasan_rajendranC8LWH
Explorer Explorer
150 Views
2 Replies
Message 1 of 3

Movement of dimensions in dynamic blocks

kalidhasan_rajendranC8LWH
Explorer
Explorer

Recently, I’ve started building dynamic blocks to automate repetitive tasks. I've now encountered an issue related to dimensions. Specifically, I want the dimensions to be defined inside the dynamic block itself. The goal is that when I change the block parametrically, both the geometry and the associated dimensions update accordingly—and so far, that part is working well. The dimensions remain associative, which is very satisfying.

However, the problem arises with the placement of these dimensions. Initially, they were aligned neatly in a row, as if sitting on a shared baseline. But after modifying the block parameters, some of the dimension texts shift upward, while others end up floating between the object and the rest of the aligned dimensions.

I’m aware of DIMSTYLE settings, such as fixing the distance from the object and controlling extension line length. But the root issue seems to be that the attachment points of the extension lines are at varying vertical levels, which disrupts the uniform alignment of the dimensions. I've attached an example to illustrate the issue. I would really appreciate it if anyone could take a look and suggest a solution.

0 Likes
151 Views
2 Replies
Replies (2)
Message 2 of 3

MMcCall402
Mentor
Mentor

Maybe rather than dimensioning the object directly, you introduce a series of dynamically controlled horizontal construction lines and dimension those. Have these construction lines maintain their horizontal alignment with each other such that they only resize/position in one direction.  The dimensions should follow.

 

 

Mark Mccall 
CAD Mangler


EESignature


VHB - Vanasse Hangen Brustlin, Inc.


Linkedin

0 Likes
Message 3 of 3

kalidhasan_rajendranC8LWH
Explorer
Explorer

thank you @MMcCall402  and i highly appreciate your reply. But the issue will be then loss of associativity of dimensions, which is a must from client. I burst the block before handing over to client to avoid the piracy of blocks, and this compels me to define the dimensions inside the block. In this way, i am able to maintain dimensions as associative. 

0 Likes