CAD FORUM - TIPS & TRICKS | UTILITIES | DISCUSSION | BLOCKS | SUPPORT | HELP & ASSISTANCE
Over 1.132.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
See the new Beam calculator, Engineering calculator, Tolerances, Spirograph generator and Regression curves in the Converters section.
New AutoCAD 2027 commands and sys.variables
CAD tip # 12310:
Question
A
Using the following LISP function you can verify whether the given dimension entity is associative or disassociated. The function returns nil or the number of the associative point.
; returns nil or assoc point number (1, 2, 3=both) (defun isDimAssoc? (diment / elst dict) (and (setq elst (entget diment)) (setq dict (cdr (assoc 360 elst))) (setq elst (entget dict)) (setq elst (entget (cdr (assoc 360 elst)))) ) (cdr (assoc 90 elst)) )
Use this function e.g. this way:
(isdimassoc? (car (entsel "\nPick the dimension to check associativity: ")))
ACAD
10.7.2019
9593×
this tip shared by ARKANCE experts applies to: ACAD ·
![CAD Forum - ARKANCE Community - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](../common/arkance_186.png)

What is the ARKANCE Community?