Pombia
Guest
hello to everyone, reading a little forum on this theme I couldn't find a solution to this problem.
having this code:
Can anyone help me?
having this code:
I would like the textreg = to be taken from a cell of an excel file outside the dgw and not from the text box I entered in the userform.dim reg as acadtext
dim textreg as string
dim ip(0 to 2) as double
dim x as double, y as double, z as double, rot as double
textreg = regionetext.text
x = 2.875
y = 10.4
z = 0
ip(0) = x: ip(1) = y: ip(2) = z
set reg = thisdrawing.modelspace.addtext(textreg, ip, 0.2)
reg.layer = 0
reg.color = acbylayer
reg.alignment = acalignmentcenter
reg.textalignmentpoint = ip
Can anyone help me?
