WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-17-2010, 06:11 PM
xionward xionward is offline
Member
 
Join Date: Aug 2010
Posts: 1
Question How can i check where clicked?

we are using very complex model exported from microstation.

when i use viz.pick() on mousedown event
it return whole model .

but i want get geometry(name) like door, value


now i'm split model to each object
please give some help or tip !



p.s : my english is very poor. sorry
Reply With Quote
  #2  
Old 08-18-2010, 01:42 AM
TarkaDahl TarkaDahl is offline
Member
 
Join Date: Mar 2010
Posts: 59
Hi xionward

i think the code would be

subobject = viz.pick(1)
subobjectname = subobject.name

Thanks
Reply With Quote
  #3  
Old 08-23-2010, 05:39 AM
knightgba knightgba is offline
Member
 
Join Date: Jul 2010
Posts: 8
yh, create a new viz.pick() object.
and use viz.callback(YOUR_EVENTNAME, objectof viz.pick())
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Check presence of joysticks ? hotspur1 Vizard 1 05-18-2010 10:33 AM
Check if an avatar has a state "123" Josh Vizard 1 04-06-2010 01:11 PM


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


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