Message 1 of 216
		
     
					
				
		
			Not applicable
		
			
    
	
		
		
		07-10-2009
	
		
		09:33 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
    - Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
			
				
					
					
						Ok, the instructions aren't the clearest, however, when you get the hang of 
it you'll love it. Try to make my valve (attached) without using this lisp
routine, you'll spend 10X longer.
Here are the steps I figured out:
------------------------------------------------------------------------------
Elements:
Lines, arcs, splines, attributes, text, etc.
1) Place all the elements. The location doesn't matter at first, so make
them easy to select by not stacking things on top of each other.
2) Add all the parameters/actions you want - DO NOT add any visibility
states or lookups yet. Make sure your actions affect the things you want,
and don't affect the things you don't want them to.
3) Load visibility-add-eng.lsp.
4) Add a visibility parameter using (visibility_add). Rename the parameter
accordingly.
5) Set this new visibility parameter active using (visibility-up). There is
a little problem with the program here. When you have one visibility
parameter active and you set a new one active, it gets hung up. Use the
visibility state pulldown and select a state. Note the command line will
ask you for a visibility state. Type ? to see those available, then type in
any name you want.
6) Add the states to the list of visibilities - DO NOT change the visibility
of anything yet.
7) Using (element-sel-current-del) select all the elements you do not want
to be affected when you change this particular visibility state.
For example: If I'm working on the "actuator" visibility states, I don't
want my valve type to change if a person wants to use a different actuator,
therefore, I will select every element that is not an actuator.
8) Now you can make elements visible or invisible in the states you've
defined. Do not bother changing the visibility of the elements you've
removed.
NOTE: if you draw a new object or copy something, it will not be removed
from any visibility sets.
9) Repeat steps 4 thru 8.
-----------------------------------------------------------------------
I did not list all the functions in this routine. Many I don't even know
how to use yet, or why.
Todd
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
it you'll love it. Try to make my valve (attached) without using this lisp
routine, you'll spend 10X longer.
Here are the steps I figured out:
------------------------------------------------------------------------------
Elements:
Lines, arcs, splines, attributes, text, etc.
1) Place all the elements. The location doesn't matter at first, so make
them easy to select by not stacking things on top of each other.
2) Add all the parameters/actions you want - DO NOT add any visibility
states or lookups yet. Make sure your actions affect the things you want,
and don't affect the things you don't want them to.
3) Load visibility-add-eng.lsp.
4) Add a visibility parameter using (visibility_add). Rename the parameter
accordingly.
5) Set this new visibility parameter active using (visibility-up). There is
a little problem with the program here. When you have one visibility
parameter active and you set a new one active, it gets hung up. Use the
visibility state pulldown and select a state. Note the command line will
ask you for a visibility state. Type ? to see those available, then type in
any name you want.
6) Add the states to the list of visibilities - DO NOT change the visibility
of anything yet.
7) Using (element-sel-current-del) select all the elements you do not want
to be affected when you change this particular visibility state.
For example: If I'm working on the "actuator" visibility states, I don't
want my valve type to change if a person wants to use a different actuator,
therefore, I will select every element that is not an actuator.
8) Now you can make elements visible or invisible in the states you've
defined. Do not bother changing the visibility of the elements you've
removed.
NOTE: if you draw a new object or copy something, it will not be removed
from any visibility sets.
9) Repeat steps 4 thru 8.
-----------------------------------------------------------------------
I did not list all the functions in this routine. Many I don't even know
how to use yet, or why.
Todd
Solved! Go to Solution.
 
					
				
		
 
		
			 
		
			