<div dir="auto">I’m guessing stride is more about how to group constant numbers of sfs in an mf?  Kind of like stride while walking.   Arrays often have length or size.   So I think you could look up something in X3DArrayField.</div><div dir="auto"><br></div><div dir="auto"><div><a href="http://vis.arc.vt.edu/projects/osnap/doc/x3d/fields/X3DArrayField.html">http://vis.arc.vt.edu/projects/osnap/doc/x3d/fields/X3DArrayField.html</a></div><br></div><div dir="auto">In the above, you can use getValue() to return an array list, which you can get the length of the array list from.</div><div dir="auto"><br></div><div dir="auto">SAI is your friend.</div><div dir="auto"><br></div><div dir="auto">Nicholas, I’m wondering why the abstract class methods aren’t mentioned in the implementations in the fields package for example, MFInt32.</div><div dir="auto"><br></div><div dir="auto">I don’t know glTF, and perhaps Joe is speaking of that?</div><div dir="auto"><br></div><div dir="auto">Since array list is probably a list of arrays, maybe stride is the length of each array?</div><div dir="auto"><br></div><div dir="auto">John</div><div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, Jun 30, 2025 at 6:24 PM Joe D Williams <<a href="mailto:joedwil@earthlink.net">joedwil@earthlink.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div style="font-family:arial,sans-serif;font-size:12pt;color:rgb(0,0,0)"><p style="margin:0.1rem 0px;line-height:1;font-family:arial,sans-serif">Does the 'stride' parameter tell you how many sfs are in  an mf?</p>
<p style="margin:0.1rem 0px;line-height:1;font-family:arial,sans-serif">Joe</p>
<p style="margin:0.1rem 0px;line-height:1;font-family:arial,sans-serif"> </p>
</div>
<div style="border-left-width:1px;border-left-style:solid;box-sizing:border-box;padding:10px 0px 10px 15px;margin:0px;border-left-color:rgb(170,170,170)">
<p>-----Original Message-----<br>From: X3D Ecosystem public discussion <<a href="mailto:x3d-ecosystem@web3d.org" target="_blank">x3d-ecosystem@web3d.org</a>><br>Sent: Jun 29, 2025 7:35 AM<br>To: X3D Ecosystem public discussion <<a href="mailto:x3d-ecosystem@web3d.org" target="_blank">x3d-ecosystem@web3d.org</a>><br>Cc: John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>><br>Subject: Re: [X3D-Ecosystem] glTF editors…</p>
<p style="margin:0.1rem 0px;line-height:1"> </p>
<div dir="auto">Sure, I was thinking of something that could be used as an editor or playground for viewing text of .gltf files, with a helpful “jump to” to go from an array index in the file to the array element in the file.</div>
<div><br>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">On Sun, Jun 29, 2025 at 8:56 AM vmarchetti--- via X3D-Ecosystem <<a href="mailto:x3d-ecosystem@web3d.org" target="_blank">x3d-ecosystem@web3d.org</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">The context for this question is unclear, but from the subject line I assume it refers to arrays defined in json portion of a glb/glTF file. To my knowledge the core glTF 2.0 has no API specification for working with these arrays.<br>The json is decoded into whatever data structure is supported by the processing system, and for arrays the language used, Python, Javascript, Pacal, ... supports an array natively; and array elements are jumped to or accessed by whatever method that language supports.<br><br>Vince Marchetti<br><br><br>> On Jun 29, 2025, at 9:08 AM, John Carlson via X3D-Ecosystem <<a href="mailto:x3d-ecosystem@web3d.org" rel="noopener" target="_blank">x3d-ecosystem@web3d.org</a>> wrote:<br>> <br>> How to jump to an array element from an array index?<br>> -- <br>> X3D-Ecosystem mailing list<br>> <a href="mailto:X3D-Ecosystem@web3d.org" rel="noopener" target="_blank">X3D-Ecosystem@web3d.org</a><br>> <a href="http://web3d.org/mailman/listinfo/x3d-ecosystem_web3d.org" rel="noopener noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-ecosystem_web3d.org</a><br><br></blockquote></div></div></div><div style="border-left-width:1px;border-left-style:solid;box-sizing:border-box;padding:10px 0px 10px 15px;margin:0px;border-left-color:rgb(170,170,170)"><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><br>-- <br>X3D-Ecosystem mailing list<br><a href="mailto:X3D-Ecosystem@web3d.org" rel="noopener" target="_blank">X3D-Ecosystem@web3d.org</a><br><a href="http://web3d.org/mailman/listinfo/x3d-ecosystem_web3d.org" rel="noopener noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-ecosystem_web3d.org</a></blockquote>
</div>
</div>
</div>

<p style="margin:0.1rem 0px;line-height:1"> </p></blockquote></div></div>