tiziano69
Guest
Good morning, I have the following problem.. .
I want to change the line "pippo" (present inside the blocks) with the line "alpha".
This is because... because many times dwg drawings have been exported by micro and I find myself a number of typeliness that I would replace and it is unthinkable to enter into every single block search and change if that particular typeline is there.
I add, I don't want to rename the line you want it to be changed so at the end of processing it is not + used and I can "eliminate" permanently.
I tried to change this piece of code that needed to change scale factor to objects but I just can't figure out how to get into the blocks and analyze all the subentitas present within the block so that I can change properties
function change_typeline()
dim asa as an object
set oautocad = getobject(, "autocad.application")
set omodelspace = oautocad.activedocument.modelspace
set asa = oautocad.activedocument.blocks
number_entta = asa.count
for i = 1 to number
if asa.item(s)
end function
I want to change the line "pippo" (present inside the blocks) with the line "alpha".
This is because... because many times dwg drawings have been exported by micro and I find myself a number of typeliness that I would replace and it is unthinkable to enter into every single block search and change if that particular typeline is there.
I add, I don't want to rename the line you want it to be changed so at the end of processing it is not + used and I can "eliminate" permanently.
I tried to change this piece of code that needed to change scale factor to objects but I just can't figure out how to get into the blocks and analyze all the subentitas present within the block so that I can change properties
function change_typeline()
dim asa as an object
set oautocad = getobject(, "autocad.application")
set omodelspace = oautocad.activedocument.modelspace
set asa = oautocad.activedocument.blocks
number_entta = asa.count
for i = 1 to number
if asa.item(s)
end function