I would like to use certain concept values in a report, specifically in the javascript part of it.
The model I am working with has a card, which has a concept node called 'Measurement Unit', which is connected to a collection with units (mm, cm, etc.). I have this .js file for a customized report I made (based on image.js): https://github.com/globaldigitalheritage/arches-3d/blob/9-add-3dhop-resource-type/arches_3d/arches_3d/media/js/reports/three-d-hop/three-d-hop.js How do I find that Measurement Unit concept value and use it in a similar way e.g. 'item.url'? I have been digging around and found the value I was looking for in the Knockout context (label= 'Measurement Unit', valueObjects[0].name = 'Milimeters'), but I am at a loss regarding how to get that value in my .js code. Any pointers or examples would be appreciated! -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
