WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-30-2011, 07:48 AM
sleiN13 sleiN13 is offline
Member
 
Join Date: Dec 2008
Posts: 83
getVisible unexpected behaviour

I wanted to use the visibility of a object to execute (or not) certain code in a vizAction to my surprise all object returned getVisible() is True while I knew that the certain parent object where invisible. A simple test confirmed that child object don't return the correct visibility value

Code:
groupA = viz.addGroup()
groupB = viz.addGroup(parent = groupA)

groupA.visible(viz.OFF)
print groupB.getVisible()

>>> True
Is this a bug or by design and in case of the second reason is there a function that will give the result I need?
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Ball Joint behaviour mkmatlock Vizard 1 11-04-2010 04:49 PM
Unexpected carriage return vizmaster Vizard 3 01-23-2007 12:46 PM
Tk with Vizard abnormal behaviour Gilliard Vizard 2 08-04-2005 01:14 AM


All times are GMT -7. The time now is 01:05 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC