tag:blogger.com,1999:blog-993393844516183990.post9187332983484449040..comments2024-03-24T13:53:19.219-07:00Comments on Drive AutoCAD with Code: Selecting Entities In ModelSpace Through ViewportNorman Yuanhttp://www.blogger.com/profile/09350392399498834066noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-993393844516183990.post-24282340612852479772022-08-04T16:58:03.292-07:002022-08-04T16:58:03.292-07:00This was lovvely to readThis was lovvely to readHeating Contractors Oklahoma Cityhttps://www.heating-specialists.com/us/oklahoma-heating/heating-contractors-oklahoma-city.shtmlnoreply@blogger.comtag:blogger.com,1999:blog-993393844516183990.post-63957000313684476712020-11-05T20:09:49.992-08:002020-11-05T20:09:49.992-08:00
Please, do you have an example, moving objects fr...<br />Please, do you have an example, moving objects from the model space to a specific viewport keeping its scale and vice versa?SON BY FORhttps://www.blogger.com/profile/05975844116032180695noreply@blogger.comtag:blogger.com,1999:blog-993393844516183990.post-23198798417948301222019-12-27T10:36:47.625-08:002019-12-27T10:36:47.625-08:00Sorry for the late respond: I was travelling in mi...Sorry for the late respond: I was travelling in middle of November and somehow missed your comment.<br /><br />I was also puzzled when I looked at the code when prompted by your question: why did I use Polyline2d, instead of Polyline then? and clearly the code worked then. Maybe the clip polygon was Polyline2d in older Acad version? (at that time I probably was using Acad2012). <br /><br />I updated the code to get the clip polygon as Polyline.Norman Yuanhttps://www.blogger.com/profile/09350392399498834066noreply@blogger.comtag:blogger.com,1999:blog-993393844516183990.post-86290630022339893582019-11-16T19:15:53.967-08:002019-11-16T19:15:53.967-08:00Norman, I know this is an old post, but I am havin...Norman, I know this is an old post, but I am having a heap of trouble with polygonal viewports and in particular line 47 and the Polyline2d part of the viewport.<br /><br />I am intently curious about the reason for trying to create a Polyline 2d. Any attempt to convert from the polyline to a Polyline2d fails...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-993393844516183990.post-11748804766830495062016-04-15T05:11:29.246-07:002016-04-15T05:11:29.246-07:00Argh. I meant to point out that you don't have...Argh. I meant to point out that you don't have the smaller than symbol showing on line 152, but the html markupAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-993393844516183990.post-21199123703215640872016-04-15T05:08:17.867-07:002016-04-15T05:08:17.867-07:00This Is exactly what I needed - you made my day. S...This Is exactly what I needed - you made my day. Side note, line 152 from "Create coordinate transform matrix" should read:<br /> 152 else if (zaxis.Z < 0)<br />not <br /> 152 else if (zaxis.Z < 0)<br />Thanks againAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-993393844516183990.post-60445140020382502002014-03-24T09:02:13.847-07:002014-03-24T09:02:13.847-07:00that is useful code. I had to do that to find what...that is useful code. I had to do that to find what xref blocks were visible in vp's for a prog, so could not use the select function of editor. I used a function that checked if a point was inside a polyline shape (not an actual pline, the geometry of one. That would be slower to test on lines and arcs or text crossing, and have not needed that yet. Fast selection of entities without drawing open in the editor remains and issue...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-993393844516183990.post-36328091327510081812014-03-15T14:00:22.719-07:002014-03-15T14:00:22.719-07:00Nice work.
Nice work.<br />Senl1362noreply@blogger.com