What are the attribute DXF codes for:
-backwards
-upside down
-width factor
-oblique angle
-linetype
-lineweight
-visability
?
|
What are the attribute DXF codes for:
-backwards
-upside down
-width factor
-oblique angle
-linetype
-lineweight
-visability
?
Last edited by aaronic_abacus; 2017-06-25 at 06:05 AM.
Thanks Tharwat!
trying to get all the options for EATTEDIT
like upsidedown or backwards
Last edited by aaronic_abacus; 2017-06-25 at 08:51 AM.
Try this bit of code look at dump you can get at the variables and set them here. The rem out line is for setting default values of the block.
Code:(setq adoc (vla-get-activedocument (vlax-get-acad-object))) (setq obj (vlax-ename->vla-object (car (entsel "pick a block")))) (setq bname (vla-get-name obj)) (SETQ LST '()) (vlax-for block (vla-get-blocks adoc) (if (= (vla-get-name block) bname) (vlax-for ent block (IF (= (vla-GET-OBJECTNAME ent ) "AcDbAttributeDefinition") ;(SETQ LST (CONS (VLA-GET-TEXTSTRING ent ) LST)) (vlax-dump-object ent) ) ) ) )
Thanks to your encouragement I found
upside down and , backwards(71); widthfactor(41); obliqueangle(51); and visibility(70)
I'm still looking for line weight and line type and what's annotative?
well I did find linetype to be (6), but can fonts display line types?
Last edited by aaronic_abacus; 2017-11-06 at 12:49 PM.
Thanks again Tharwat, I've gained an understanding of justification through this link.
http://docs.autodesk.com/ACD/2011/EN...2e719-7a31.htm
Last edited by aaronic_abacus; 2018-01-09 at 07:01 PM.