70melbatoast Posted Tuesday at 11:38 AM Posted Tuesday at 11:38 AM Hello everyone. Please refer to attached for more information. I hope this is the correct sub for this. As the title suggests, I would like to pick two dimensions, add a user defined size to both individually (usually, but not always, the same dimension for length and width) and have it insert into a drawing using the format of LENGTH"xWIDTH". The kicker is that the returned values must use stacked fractions to match the rest of the drawing. An easier method is welcomed to be explored. I was thinking maybe picking the opening instead of the dims maybe? Purpose: I draw storefronts and curtain walls. Part of the job is to generate fabrication drawings for the shop. You'll see that in the attached drawing, there are dimensions that display the DL (or day light opening) of the window frame. This is the dimension from the edge of mullion to edge of mullion. We add a variable dimension to these values to generate the glass size for the opening. Normally we generate these sizes manually, and as expected, we do get some human errors from this. We'd like to be able to automate this. I've tried this using fields, but to no avail. I'm not well versed in LISP to create a routine, nor do I know if it is possible. I appreciate any input you all may have on this. Thanks in advance. Using AutoCAD 2025 Glass Size.dwg Quote
70melbatoast Posted Tuesday at 01:16 PM Author Posted Tuesday at 01:16 PM Using CHATGPT, I was able to -sort of- get what I wanted by selecting points and not dimensions. The only thing missing is getting the result to diagonally stack the fractions, but everything else works. Does anyone know if stacked fractions are possible? GlassSize.lsp Quote
BIGAL Posted yesterday at 06:37 AM Posted yesterday at 06:37 AM Have a look at this its not the answer but rather your question would be auto generated, there is no reason why you would not just enter a few values in a custom dcl as per movie and your dims and size are auto drawn. Do windows.mp4 Quote
70melbatoast Posted yesterday at 10:57 AM Author Posted yesterday at 10:57 AM BIGAL, you've piqued my interest. What is it? Looks very interesting. Quote
Tharwat Posted yesterday at 02:10 PM Posted yesterday at 02:10 PM You need just to work on the formatting of the Mtext to get it the way you want it. 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.