Recent Posts

Pages: [1] 2 3 ... 10
1
AutoLISP (Vanilla / Visual) / Re: AutoLISP with Microstation
« Last post by BIGAL on April 18, 2021, 10:36:13 PM »
i took me a couple of goes to unblock the file I think i had to do it to the one that was original download then copied to support directory.
2
AutoLISP (Vanilla / Visual) / Re: Dynamic text size
« Last post by BIGAL on April 18, 2021, 10:33:05 PM »
Have you looked at annotative text that is what it was created for to autoscale.
3
AutoLISP (Vanilla / Visual) / Re: AutoLISP with Microstation
« Last post by Jeremy Dunn on April 18, 2021, 07:17:28 PM »
Dont you mean just replace VL commands with c#

There is already people out there offering .net library routines. I tried out some of the excel routines and work well.



Tried loading these functions with no luck. Unblocked the file and have it in the Support directory. No function error when I type (alx-help)
4
AutoLISP (Vanilla / Visual) / Re: Draw diagonal hatch lines in rectangle by pick
« Last post by Christina on April 18, 2021, 12:40:50 PM »
Quote
Just wondering whom these people are?

Hello Tharwat,
A good example now is AutoCad 2022!
Some people have problems with slow mouse movement and some not!
I needed to enter GFXDX12 into the command line and set that to 0 to switch from DirectX 12 to 11.

Quote
I believe the problem has nothing to do with Windows nor AutoCAD.
I believe you, but I work in steps and will be sure that Win + Acad are no longer my problem.

Yes, have a good weekend Tharzat
Christina


5
AutoLISP (Vanilla / Visual) / Re: Draw diagonal hatch lines in rectangle by pick
« Last post by Tharwat on April 18, 2021, 11:03:37 AM »
Solving a problem that pops up now and then and works for some people and not are a deadly challenge...
Just wondering whom these people are?

So, my logic tells me that the fault lies with me and need to reinstall my Windows and AutoCad because the problem will also continue with fees.
I believe the problem has nothing to do with Windows nor AutoCAD.
my mom will borrow me little money and will contact you.
Please do not, I don't like to feel guilty against anyone, so I will never accept that.

Have a good weekend.
6
AutoLISP (Vanilla / Visual) / Re: Draw diagonal hatch lines in rectangle by pick
« Last post by Christina on April 18, 2021, 09:56:57 AM »
Hello Tharwat,

Quote
My second version of the program provided works for me in all circumstances and I already recorded a quick demo showing that the program also works on the drawing you attached where the program failed for you.

Yes, you really did your best and admire you a lot!  :smitten:
Solving a problem that pops up now and then and works for some people and not are a deadly challenge...
Bigal's code works in TEST63 and TEST45 but does not take a long side and 1 segment.
So, my logic tells me that the fault lies with me and need to reinstall my Windows and AutoCad because the problem will also continue with fees. If there are still problems afterwards, my mom will borrow me little money and will contact you.
Thank you again for what you did!

Christina

Edit: For all the tests i use your original code!


7
AutoLISP (Vanilla / Visual) / Re: Draw diagonal hatch lines in rectangle by pick
« Last post by Christina on April 18, 2021, 09:26:21 AM »
Hello Bigal,

Quote
Would appreciate if you could try it

Thank you very much for your code it works with all my tests so also Test63!
But sadly the zigzags are on the short and not on the long side.
And 1 zigzag/segment  is not possible...

Quote
just 1 question does it check the rise/run rules for stairs ?
First there is a difference between DCL and OpenDCL...
Yes, i use the formula step-modulus (from my country) and everything is automatic.
When I lower or increase the 15 steps, I see when the staircase is optimal. In the photo, 63.06 cm is bit too high and will be showing in the color red; 15 steps are in this example not 100 % optimal... but still OK of course.
I write the stair data and colors also to a ini file as defaults.
You can see the results in the image but its still work in progress...

Quote
This is plain Autocad developed 1990's still available very cheap PM me.

Very nice but I don't use AutoCad for 3D work, the renders aren't realistic enough for me.
I consider myself more has a 3D artist?
Thank you for all

Christina


8
AutoLISP (Vanilla / Visual) / Dynamic text size
« Last post by civil.eng on April 18, 2021, 07:46:26 AM »
Hi everyone,
I'm interested to know if it is possible to set size of the text dynamically via Autolisp??

Actually I have been using a fixed text size or getting a size from user in my programs, Now I would like to set appropriate size to text automatically by Autolisp, mostly based on an object's property, for example closed polyline's area. like the attached image:

I guess I should use polyline's area to  set this dynamically, but I don't know how I can do it.

Can someone help with  my project?
Thanks in advance.
9
AutoLISP (Vanilla / Visual) / Re: Draw diagonal hatch lines in rectangle by pick
« Last post by Tharwat on April 18, 2021, 07:37:26 AM »
Hi,
My second version of the program provided works for me in all circumstances and I already recorded a quick demo showing that the program also works on the drawing you attached where the program failed for you.

The program is somehow simple and straight forward the aim that it was wrote for, so how can I modify it for you since it is working properly all the time for me?

Are you adding any codes or adding my codes to another program ?
10
AutoLISP (Vanilla / Visual) / Re: Draw diagonal hatch lines in rectangle by pick
« Last post by Christina on April 18, 2021, 07:07:31 AM »
Quote
It would be a great idea to consider a few fees

Hello Tharwat,
Just a rational thought...
Many employees come to a forum asking for code to impress their boss.
As a result, they can get their job done faster and the boss benefits more... and all looks very happy.   :laugh:
It is therefore easily (for me) understandable that you ask them for a fees.
But can we applies this to a student who is still at school?  :thinking:
Of course you never know who ask for help...

Anyway, thank you for your offer, I'll think about how I can get money.
And thank you very much for your hard work!

Christina

Pages: [1] 2 3 ... 10