Hello all,
I am new to Dynamo and still learning the ins and outs. My goal with the following script is to
- Select a sheet
 
- Take the selected sheet and duplicate it.
 
- Take the one and only viewport on the sheet and directly change the phase on the viewport.
 
However, instead of returning true and working, I noticed it is returning null.
Any further suggestions? Thanks.
             
            
              
              
              
            
            
           
          
            
            
              Not sure the best way to resolve this, but I’m noticing that Sheet.Viewports is returning viewport object, not a view. Getting the view itself might be a good place to start.
             
            
              
              
              
            
            
           
          
            
            
              
Looks like it is still returning null 
             
            
              
              
              
            
            
           
          
            
            
              Open up the custom node returning a null value; At a minimum it should be returning a list of nulls, since it isn’t there is an indication you may have an environment issue (ie: not having IronPython2 installed).
             
            
              
              
              1 Like
            
            
           
          
            
            
              Looked to be an environment issue. Thanks for your help!
             
            
              
              
              1 Like