Hello all,
Is it possible to insert a Variable inside a Text or Block Attribute?
I would like to use this feature to show the area of a Polyline inside a Text.
Thank you! Best regards,
David
Embed Variable inside Text
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Re: Embed Variable inside Text
No.
I can imagine a script that would automatically fill in the value of a text label or block attribute based on the area of a polyline. Even a transaction listener would be possible to automatically update the value whenever the polyline changes. To lick polyline and label, a custom property could be used (e.g. a custom property attached to the polyline "AreaLabel: F51" where F51 is the handle of the text entity).
I can imagine a script that would automatically fill in the value of a text label or block attribute based on the area of a polyline. Even a transaction listener would be possible to automatically update the value whenever the polyline changes. To lick polyline and label, a custom property could be used (e.g. a custom property attached to the polyline "AreaLabel: F51" where F51 is the handle of the text entity).