- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a dynamic block, basically a rectangle, with a stretch action attached to a linear Parameter called "Width". The parameter is set to operate incrementally.
I am writing a function which iterates through each possible "Width" based on information read from a custom config file. Before passing the new value to "Width", I want to verify that it is an acceptable value by comparing it to the 'Dist Minimum', 'Dist Maximum' and 'Dist Increment' values.
We can easily find the "Width" parameter with (vlax-invoke <block> 'GetDynamicBlockProperties) and (foreach... through the results until (vla-get-propertyname... matches "Width"; however, I cannot fathom how to read the min, max and increment values for it!
Thanks in advance!
Solved! Go to Solution.