Hey Guys, I have a problems when I use microstation file ( including existing and new file) that some element are off grids, it not algin to grid point.
I wonder we have tools or VBA file to identify or highlight point, circle, shape ...if they are girds off. because, Some drawing need to grid on when drawing.
Thanks.
After looking into this, I can confirm that my initial theory was correct:
(Right-click on the images and choose Open in New Tab to view full-screen)
You can see in the above clip that any elements drawn on a major or minor gridline will not have any of its vertices highlighted, but those which are not, will be. You can also see that once an element's vertices are corrected i.e. positioned back onto the grid, they are no longer highlighted. For clarity and to demonstrate the manipulation of vertices, I didn't have the rogue elements automatically selected but you can see this in effect, below:
That's exactly the answer I need. how you can create them quickly, I lost time with this a lot. you are genius.And That I wonder this code can operate withe all elements ( such as: cell, group cell, ... or marco like that)
The problem with Cells (Shared/Normal or Orphan) is that the only reliable point of interest that can be accessed in code, is the origin point. Where the origin is located relative to the rest of the geometry in a cell, can easily vary between cells, so attempting to use the origin as the point of reference could easily yield undesirable results. It's not that it isn't possible, it would just require an extreme amount of time to cater for every cell. I simply wanted to test if my theory would work, and it appears to do just that.
Awesome Barry do you want to share this macro?
Lorys
Started msnt work 1990 - Retired Nov 2022 ( oh boy am I old )
But was long time user V8iss10 (8.11.09.919) dabbler CE update 16 (10.16.00.80)
MicroStation user since 1990 Melbourne Australia.click link to PM me