Issues.00548 - lordmundi/wikidoctest GitHub Wiki
00548: add tcl command to query filename of model that a node is using
Summary: add tcl command to query filename of model that a node is using
Created: 2015–09–30 11:27
Status: Released
Category: Request
From: frankie
Version: 2.3
Released_In: 2.4
Description:
This is a request for a tcl command that can be used to get the filename of the model that a particular model node is using.
Comments
frankie September 30, 2015, at 11:36 AM: This has been added via the "dsp_info" plugin (which covers issues 00518, 00547, and 00548). More commands to the plugin may be added in the future. For now, it allows you to query a node for what filename the model is using, the scale of the model, and also the position and orientation of the node relative to any other node. When requesting the model filename, if LOD model sets are used, then a space separated list of filenames will be returned. Also, for the relative position and attitude subcommand, the orientation comes out using the order specified for the node, which is most commonly PYR. The syntax for the tcl commands is:
doug.plugin dsp_info.node node_name -filename
doug.plugin dsp_info.node node_name -strfile
doug.plugin dsp_info.node node_name -relposatt nodename2 # returns xyzPYR but in the order of nodename2
doug.plugin dsp_info.node node_name -scale
Documentation for the plugin will be superseded by this article: EDGEInfoPluginReference
Associated Commits
| commit | dc92c5db53adb2cb6f386d0ccca1747913fcf878
link8 |
||
| Author: | Frank Graffagnino
|
| Date: | Wed Sep 30 11:23:37 2015 -0500
|
| Message: | [@Issue 00518, 00547, and 00548: Added dsp_info plugin
This plugin allows you to get the relative position and orientation of a node relative to another node. It also lets you query the model scale of a node, or the filename of the model that a node is using. @] |
Affected Files:
plugin_Darwin/dsp_info.so | Bin 0 -> 18180 bytes
plugin_Linux_FC3/dsp_info.so | Bin 0 -> 29861 bytes
plugin_Win32/dsp_info.dll | Bin 429438 -> 465983 bytes
3 files changed, 0 insertions(+), 0 deletions(-)