0 Replies Latest reply on Mar 26, 2008 7:26 AM by (A._Walker)

    How do I add a group of meshes to a layer using Javascript?

      Hello,

      My question is specific to layer control in 3D Annotations.

      I am using the Layers.js that is available as a sample at the Acrobat Development Center. Everything works fine as long as I define the specific mesh(es) to add to a layer but I am unable to add a group of meshes to a particular layer.

      I am very new to JavaScript and this may not be something that is even possible hence the reason for this post. My ultimate goal is to be able to add multiple mesh objects to a particular layer by defining the group that these meshes belong to rather then having to define each and every mesh object in the js. Is this possible? Any suggestions would be greatly appreciated. If need be I can email a sample file that better illustrates what I am trying to accomplish.

      Thanks in advance for you help.

      A