Lan For as much asi remember you can only detach and attach a BG, if you want to detach TG or any other objects from the scene graph you need to wrap it in a BG.
Ben ----- Original Message ----- From: "Lan Wu-Cavener" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 12, 2001 11:43 PM Subject: [JAVA3D] setChild(Node child, int index), or removeChild(int index) > Hi, all: > > I am confused about using Group.setChild() or Group.removeChild(). In the > J3d specs, there is no specific mentioning of BranchGroup as the child. > When I tried to remove a transformGroup from a BranchGroup, I received the > error message: Group: Only a BranchGroup node can be removed or set. > > My questions are: > Is there a way to set or remove a transformGroup from a BranchGroup? > Is there a way to reset a link leaf of a transformGroup's. > > Thanks in advance! > Lan > > Lan Wu-Cavener > Research Associate and Programmer > Dept. of Landscape Architecture > > =========================================================================== > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff JAVA3D-INTEREST". For general help, send email to > [EMAIL PROTECTED] and include in the body of the message "help". > ************************************************************************************************** The contents of this email and any attachments are confidential. It is intended for the named recipient(s) only. If you have received this email in error please notify the system manager or the sender immediately and do not disclose the contents to any one or make copies. ** eSafe scanned this email for viruses, vandals and malicious content ** ************************************************************************************************** =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
