Halsy Posted August 21, 2021 Posted August 21, 2021 i have to draw fixed width rectangle which is 600,500,450,400,360,350,320,300,280,275,270,260,250,230,225,220,210,200,195,190,185,180,175,170,165,155,150,145,140,135,130,125,120,115,110,105,100 and between two selected point whether on axis or y axis Quote
CADTutor Posted August 22, 2021 Posted August 22, 2021 I think the community may need a little more information. It's not exactly clear what you are asking and what that multi-dimensional coordinate is for. 2 1 Quote
Halsy Posted August 22, 2021 Author Posted August 22, 2021 if i select 2 point which is shown in image then rectangle of fixed with which is emption early has to come and after selection user has to give height of that rectangle which is on both x axis and y axis Quote
myloveflyer Posted August 22, 2021 Posted August 22, 2021 21 hours ago, Halsy said: 我必须画出固定宽度的矩形,这是600,500,450,400,360,350,320,300,280,275,270,260,250,230,225,220,210,200,195,190,185,180,175,170,165,155,150,145,140,135,130,125,120,115,110,105,100,在两个选定的点之间,无论是在轴上还是y轴上。 Please provide test DWG 1 Quote
Dadgad Posted August 22, 2021 Posted August 22, 2021 At first glance my thought was should we be using units of measure light years? 1 Quote
Halsy Posted August 22, 2021 Author Posted August 22, 2021 if i select 2 point which is shown in image then rectangle of fixed with which is emption early has to come and after selection user has to give height of that rectangle which is on both x axis and y axis Quote
devitg Posted August 23, 2021 Posted August 23, 2021 Sad to say , ACAD can not edit a image. Please up load your DWG - Other fact what could be the distance from point-1 to point-2? How it will be discriminated or decided which measure to take The horizontal have 3 x 600 + 1 x 500 + 1x 170 . Or could it be 2 x 600 + 2 x 300 + 1x250+ +1x120+ 1x130+ 1 x 170 Please set up the formation rule. Quote
BIGAL Posted August 23, 2021 Posted August 23, 2021 This has been discused in great length over at forums/autodesk and I think is posted here now as there ws not a final solution provided. The issue with the solution was the random way a final panel is chosen it was like I want an answer from the 5 different combinations that I could use but the code has to pick the correct one which seems totally random. Again look at this before replying https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/divding-two-points-into-specifi-width-and-height-of-rectangle/td-p/10533944/page/2 its up to 24 replys. Quote
Halsy Posted August 23, 2021 Author Posted August 23, 2021 if i select 1st point and 2nd point on screen then user has to give a height of that rectangle then rectangle of width 600 ,500,450,400,360,350,320,300,280,275,270,260,250,230,220,210,200,195,190,185,180,175,,170,165,160,155,150,145,140,135,130,125,120,115,110,105,100 has to come where maximum number of rectangle of width 600 has to come then rest of above list Drawing1.dwg Quote
Halsy Posted August 23, 2021 Author Posted August 23, 2021 where the length is taken between two selected points Quote
devitg Posted August 23, 2021 Posted August 23, 2021 so the distance between 2 point can always hold the sizes show , only will end to 5 or 0 ? Quote
Halsy Posted August 23, 2021 Author Posted August 23, 2021 The distant between 2 points may be end with 0 or 5 Quote
BIGAL Posted August 24, 2021 Posted August 24, 2021 (edited) Devitg "Please set up the formation rule." Did you read all the comments at forums/autodesk to random an answer to code. Edited August 24, 2021 by BIGAL Quote
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.