DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Cabinets for Design Cad and Sketchup

Started by Garry K, February 13, 2013, 05:18:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DrollTroll

Regarding your permformance measures below.... In your DesignCAD macros, are you using Sys(36) to turn Silent Mode on while it does the drawing? That can speed things up immensely. I typically use
Sys(36) = 2      after user input is done and I start drawing
and
Sys(36) = 0     when the drawing is finished.
25 years with DesignCAD

prl

Quote from: DrollTroll on March 08, 2013, 09:03:51 AM
Regarding your permformance measures below....

If I remember correctly, Garry is cycling the drawing database a few times using the sys$(300) field name.  My observations are that using sys$(300) in loops slows things down tremendously, on the order of five to ten times slower.   

prl

Quote from: Garry K on March 08, 2013, 08:55:35 AM
I fully understand that you need to facilitate this forum and keep it focused.

I'm glad Dt provided a spot for this sort of extended DesignCAD discussion . . . . because we certainly aren't busting at the seams with 3rd party developers.

Garry K

I am using Sys(36) = 2.

As prl pointed out - I'm also using Sys$(300) to store group name.
Perhaps my strategy is flawed - what I do is draw the part on my work layer and then move it to another layer once I've cut off corners - done solid subract for dadoes etc.

I wish there was another way - perhaps I could use color to store group information instead.

What is the maximum value that I can store in the 3 color values. Are we limited to 255? or can I actually store larger values?

DrollTroll

No, it's typical RGB -- values can run from 0 to 255 each for Red, Green, and Blue values.
25 years with DesignCAD