Coding option in object settings menu

34 views
Skip to first unread message

Raúl Reinoso

unread,
Apr 25, 2017, 6:38:21 PM4/25/17
to CoSpaces
Hi, where Icould find information on how to use this part in the configuration of a 3D model?


Benjamin Singh

unread,
Apr 26, 2017, 3:24:20 AM4/26/17
to CoSpaces
Hi Raúl,

These informations are needed for scripting. If you want to reference an item in JavaScript/TypeScript you need its "Item ID". See this example: https://cospaces.io/api/#itemfactorygetitem

The "Part name" is used for groups: https://cospaces.io/api/#groupitemgetpart

And you can trigger certain animations using its names. But the methods for this aren't available yet.

Benjamin
Reply all
Reply to author
Forward
0 new messages