Block parameters causing slowdown

Block parameters causing slowdown

gjonesP99HT
Observer Observer
928 Views
5 Replies
Message 1 of 6

Block parameters causing slowdown

gjonesP99HT
Observer
Observer

My attached block runs very slowly if I have several copies of it. Selecting, moving, changing properties, etc. are all very slow. Anyone have any tips I can try?

 

We typically use 200+ copies of an identical block. The block has 30 calculated parameters to size the block and output calculated values.

 

Changing the ModuleModel custom property name for 80 blocks takes 17 seconds. The ACAD.exe process appears to load to ram at a rate of 1,237 kb per second, which seems very slow for some reason. Anyone experience autocad performance like this in general? I have 3.4 Ghz cpu, 24 GB ram and NVidia Quadro 2000, running autocad 2019.

 

I contacted autodesk support, but haven't gotten any specific tips.

 

Let me know if a screencast would be helpful!

 

Thanks!!

0 Likes
929 Views
5 Replies
Replies (5)
Message 2 of 6

Libbya
Mentor
Mentor

Remake the block using dynamic parameters and actions instead of parametric and dimensional constraints.  The calculation time is WAAAAAAAYYYYYY faster for dynamic parameters/actions and your block appears to be simple enough that it could be converted fairly easily.

0 Likes
Message 3 of 6

gjonesP99HT
Observer
Observer

Yes, I am in a little bit of a pickle because I need the parameter values to be calculated and output to our autocad plugin.

 

Obviously it's not efficient to be calculating 30 parameters X n quantity of blocks, but I don't know an alternative.

 

I also have many constraints in the block that keep it square... probably doesn't help it, but I can't figure out a better solution.

0 Likes
Message 4 of 6

Libbya
Mentor
Mentor

Are you saying that your autocad plugin will not accept parameter values for dynamic parameters?  Are you sure?

 

If you used dynamic linear parameters/actions there would be no need for the constraints that keep it square.  If you drew it square in the first place, it would stay square when resized by the dynamic parameters. 

0 Likes
Message 5 of 6

gjonesP99HT
Observer
Observer

It looks like those values get calculated in the parameters manager, but I cannot put a formula into those because they are action parameters. The formula I need to have is something like =Custom Property A + 5.5"

 

You're referring to Block Authoring Palette > Parameter Sets tab > Linear Stretch, correct?

0 Likes
Message 6 of 6

Libbya
Mentor
Mentor

Why does it need to be a 'Custom Property'? 

 

Dynamic parameters and actions do not accept formulas directly but you can certainly have then output a value based on another parameter value.

 

To use your example, you can insert a gripless linear parameter to represent the 'custom property' and then add a second linear parameter that is drawn at 5.5 units longer than the first.  Add a stretch action to the first linear parameter and have it stretch the second.  The second will always be 5.5 units longer than the first. 

 

If you need to do multiplication then use a scale action instead.  If A=B X 1.378, then draw A at 1 unit in length.  Draw B at 1.378 units and add a scale action to A that scales B.  Be will always output a value that is 1.378A. 

 

If you get stuck with it let me know.    

0 Likes