AutoCAD dimensions can be associated with AutoCAD objects like polylines. Additionally you can create non-associative AutoCAD dimensions.
Associative AutoCAD dimensions are turned on by default in AutoCAD Architecture 2024 toolset.