Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello friends;
I'm doing a scan here. However, I could not adjust the hatch scale. Where am I making a mistake?
Thanks in advance to my helpful friend.
error : BOUNDARY created 1 region; error: ActiveX Server returned the error: unknown name: scale
; Tarama (hatch) işlemi
(setq txtHight (getvar "Textsize"))
(setq hatchObj (vla-addHatch
(vla-get-modelspace
(vla-get-activedocument
(vlax-get-acad-object)))
acHatchPatternTypePreDefined
"ANSI31"
:vlax-true))
(vla-put-Color hatchObj 9)
(vla-put-Scale hatchObj txtHight)
(foreach ent (vl-remove-if 'listp (mapcar 'cadr (ssnamex hsset)))
(setq loopObj (vlax-make-safearray vlax-vbObject '(0 . 0)))
(vlax-safearray-fill loopObj (list (vlax-ename->vla-object ent)))
(vla-appendOuterLoop hatchObj loopObj))
Solved! Go to Solution.