0 Members and 1 Guest are viewing this topic.
Hi Everyone!Here with a question, I have 2 hatch, but one of them gives me the area, I would like to know why, that was formed this hatch is it impossible to calculate the area, thanks for your help.
Haven't looked at your drawing as yet, but I think the Area property can be inaccessible if the hatch has a self-intersecting boundary.
Quote from: Lee Mac on October 30, 2011, 02:40:46 PMHaven't looked at your drawing as yet, but I think the Area property can be inaccessible if the hatch has a self-intersecting boundary.What does 'inaccessible' mean? Is the area property not available? Will vla-get-area error out? I am asking because BricsCAD does not have this issue.
; Area (RO) = AutoCAD.Application: Invalid input
Command: (vla-get-area (vlax-ename->vla-object (car (entsel))))Select object: ; error: Automation Error. Invalid input
Command: (vlax-get (vlax-ename->vla-object (car (entsel))) 'area)Select object: ; error: AutoCAD.Application: Invalid input