View Full Version : Plot Stamps
spencer.67965
2004-06-10, 03:48 PM
Does anyone know how to add user-defined fields by using either VBA or AutoLisp?
Any input would be welcome.
Mike.Perry
2004-06-10, 04:35 PM
Hi
Please note I've *moved* this Topic (Thread) from the ACAD 2005 General Forum (http://forums.augi.com/forumdisplay.php?f=58) to this one as I believe it would be better served here.
Thanks, Mike
Forum Moderator
RobertB
2004-06-11, 01:20 AM
If you are talking about AutoCAD 2005's Fields, all you need to do is use the field expression in the text itself.
Sub Test()
Dim pt0(0 To 2) As Double
ThisDrawing.ModelSpace.AddMText pt0, 2, "Test: %<\AcVar Date \f " & Chr(34) & "M/d/yyyy h:mm:ss tt" & Chr(34) & ">%"
End Sub
spencer.67965
2004-06-11, 05:12 PM
Acutally I am trying to add a user-defined field in the Plot Samp Dialog Box. Thanks for the input. If you have any ideas let me know.
RobertB
2004-06-11, 07:46 PM
What version of AutoCAD, BTW?
spencer.67965
2004-06-14, 08:35 PM
AutoCAD 2005
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.