GETPOINT failing based on shade plot and pipe size [Fabrication CadMEP]

GETPOINT failing based on shade plot and pipe size [Fabrication CadMEP]

Anonymous
Not applicable
834 Views
2 Replies
Message 1 of 3

GETPOINT failing based on shade plot and pipe size [Fabrication CadMEP]

Anonymous
Not applicable

Weirdest thing I've ever experienced.

I have a script that is failing under some unusual conditions.

 

  1. If the current view style of the active viewport is set to anything other than 2D Wireframe, GETPOINT and the script work perfectly.
  2. If the current view style of the active viewport is set to 2D Wireframe, and I am zoomed in to a point where the opening formed by the open end of my pipe is larger than the default system AutoSnap Marker size, the script fails.
  3. If the current view style of the active viewport is set to 2D Wireframe, and I am zoomed out to a point where the opening formed by the open end of my pipe is smaller than the default system AutoSnap Marker size, the script succeeds.
    1. If I have a piece of pipe that the script is succeeding on, and modify the size of the pipe (from 1" to 10" for example) so that the opening is now larger than the AutoSnap Marker, without changing zoom levels or anything else, the script now fails.
  4. Modifying the AutoSnap Marker size does not change the behavior and it still seems to rely on the what the default size was.

I have tried across multiple drawings and different pipe/fittings. No clue what is causing this. Weirdest thing ever. Not sure if this is a bug report or a plea for ideas, but has anybody experienced this before?

 

We have tried the script on other machines and it is finicky as well. One machine has the script working perfectly in both 2018 and 2016. I've compared system variables against that machine and tried all of their settings with no luck.

0 Likes
835 Views
2 Replies
Replies (2)
Message 2 of 3

dlanorh
Advisor
Advisor
If i were to hazard a guess, it would be that the auto snap cannot find an entity to apply the snap to in 2D wire frame; i.e. some part of the entity must be inside the snap marker circle.

I am not one of the robots you're looking for

0 Likes
Message 3 of 3

Scottu2
Advocate
Advocate

Ixath,

I'm going to guess door #2....

Try setting the UCS to VIEW before making the selection.

The coordinate views as seen on the screen as x,y instead of the view point from the world coordinate.

 

0 Likes