vernonlee Posted March 18, 2015 Share Posted March 18, 2015 How to check the origin location of an existing hatch so that i can align the new hatch patten to? Thanks Quote Link to comment Share on other sites More sharing options...
BIGAL Posted March 18, 2015 Share Posted March 18, 2015 Here is the answer to your question just have a look at the properties available. Use VLA-GET-ORIGIN, so much is simply available and much easier than using dxf codes. ;;;===================================================================; ;;; DumpIt ; ;;;-------------------------------------------------------------------; ;;; Dump all methods and properties for selected objects ; ;;;===================================================================; (defun C:DumpIt ( / ent) (while (setq ent (entsel)) (vlax-Dump-Object (vlax-Ename->Vla-Object (car ent)) ) ) (princ) ) Quote Link to comment Share on other sites More sharing options...
vernonlee Posted March 18, 2015 Author Share Posted March 18, 2015 Thanks BIGAL It listed the hatch Origin = (0.0 0.0) are there coordinates? I click hatch origin as 0,0 but patten still do not match. Any advise? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.