Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a way to turn off or hide a node? 3

Status
Not open for further replies.

tzinger

Aerospace
Dec 16, 2002
42
I want to be able to print extents in my layouts, but my ordinate dimensions leave a node at absolute 0,0 which throws the extents all out of wack. Can I shutoff or turn off the nodes but still maintain associative ordinante dimensioning?
 
Replies continue below

Recommended for you

The nodes are on "DEFPOINTS" if you freeze that layer they should go away. You may need to freeze the "ZERO" layer, as well. The nodes to a DIM sit on defpoints but in order to display them off ZERO must be FROZEN off as well.

FROZEN layers will not be included in a REGEN.
BUT!
But, TURNED OFF layers will be included in a REGEN ...so make sure to FREEZE the layers.

Hope that helps.
Rich
 
It seems that the little dot at the end of dimensions is not considered a node or point, because freezing and turning off both the defpoints and zero layer did not make them disappear. Thanks for the help though....any other ideas would be appreciated...
 
If you are referring to the GENORD node (looks like a little X), the ordinate dimension style that uses this is set. You may try using a different ordinate style if you do not like the X. They are blocks, so they can be manipulated like blocks. You can redefine them, or make a selection set of them and erase them, or redefine their layer and then freeze that layer. Just a few suggestions.

BU
 
Tzinger,
Did you regen after you FROZE those 2 layers?
R.
 
Yes, I performed a regen several times, after further poking proding i have determined that the points are called association points and they appear to be on the same layer as the dimension lines and text. so far no known cure for this....
 
Have you tried a workaround for this? Make a temporary hidden layer to put the node on. Pick that layer, and choose not to plot it or even turn the layer off.

Flores
 
the association point is on the same layer as the diemnsion lines and text ,when i shut the layer off or freeze it or "not to plot" they disappear to. Let me illustrate the point i am talking about......assume the line of the exclamation point is the dimension line and the dot is the association point " ! " i use aricraft coordinates in my drawings wich put the point at 0,0 and the line at lets say x=236.00. the point is way off the screen and screws up my plot and zoom per extents, i change my plot to limits but my zoom is still by eyeball.
 
Dude,
Here's a patch to your plotting issues.

Instead of plotting "EXTENTS" ...
Have you tried to plot using "VIEW" ....

Of course you must setup a view.

BEFORE PLOTTING ....

Open your file to the space (model/ paper)which has your border.

type
-VIEW
<enter key>
W
<enter key>
plot
<enter key>
<pick the ONE corner of the border>
<and pick the opposite diagonal corner of the border>

AND you're done!

Now plot and pick VIEW.


Just a thought ...
Rich

Happy Holidays.
 
You could make the object invisible and then it is not included in the extents calculation, but you need to undo or restore its property afterwards.

(defun MAKE_INVISIBLE()
(vl-load-com)
(setq ENT (car (entsel)))
(setq VLENT (vlax-ename->vla-object ENT))
(vla-put-visible VLENT :vlax-false)
)
 
This is simple, you don't need codes or macros

Type PDMODE and enter a number other than 0
hit enter.

Type PDSIZE and type in a size other than 0
hit enter.

In civil engineering we have 7 to 10 layers
of points depending on the utilities, ground
shots, and benchmarks. So we add layers and
place the points on those layers. We turn them
off as needed.

Hope this helps

Andy

 
Dear borgunit,
Your code is so helpful, but it hides the dimension block totally. To hiding the node at the absolute 0,0 you should use the modified code as follow:

(defun MAKE_INVISIBLE()
(vl-load-com)
(setq ENT (car (nentsel)))
(setq VLENT (vlax-ename->vla-object ENT))
(vla-put-visible VLENT :vlax-false)
(command &quot;REGEN&quot;)
)

The above code will solve the tzinger's problem.
After loading and running the function MAKE_INVISIBLE, you should select the node to be hide.
The modifications on the code are:
1. Using the function NENTSEL instead of ENTSEL
2. Using the command REGEN to make changes effective

:)
Farzad
 
That snippet works nice. Glad we could figure this out!
 
the code does an effective job at making the node disappear but it still calculats it in a zoom extents.

Travis
 
You are correct tzinger. The only way to not zoom to the dimension, is to hide the whole dimension (from the initial snippet I sent).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor