[x3d-public] X3DGroupingNode interface has no method setIS in X3DJSAIL, FYI

John Carlson yottzumm at gmail.com
Fri Jan 4 22:49:39 PST 2019


Thank you all for considering this code.  Note that one works, and here is the failure for the other. It appears when you use concrete classes and not interfaces, it works.  The interface does not have the method.   We will have to figure out some kind of casting scheme, I think.

John
processScene.python:                                                            
     [exec] Warning: meta name newValue="CML version" has an unrecognized value 
not matching any of the optional string tokens.                                 
     [exec] Traceback (most recent call last):                                  
     [exec]   File "C:\x3d-code\www.web3d.org\x3d\content\examples\Basic\Chemica
lMarkupLanguage\GlycerolDiacetate.future.py", line 90, in               
     [exec]     .setDEF("atoC") \                                               
     [exec] AttributeError: 'org.web3d.x3d.sai.Grouping.X3DGroupingNode' object 
has no attribute 'setIS'                                                        
     [exec] Result: 1                                                           
     [echo] C:\x3d-code\www.web3d.org\x3d\content\examples\Basic\ChemicalMarkupL
anguage\GlycerolDiacetate.future.py                                             

Sent from Mail for Windows 10

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20190105/a77302fa/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GlycerolDiacetate.py
Type: application/octet-stream
Size: 37260 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20190105/a77302fa/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GlycerolDiacetatefuture.py
Type: application/octet-stream
Size: 31694 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20190105/a77302fa/attachment-0003.obj>


More information about the x3d-public mailing list