Skip to main content
1-Visitor
February 19, 2020
Solved

Attach many identical ThingShapes to a Thing Template

  • February 19, 2020
  • 3 replies
  • 1066 views

Let say I want to model a Car. For this I create a CarTemplate. And for the wheels, I create a WheelThingShape with 2 properties (wear% and pressure). How should I link the WheelThingShape to the CarTemplate in order to achieve a final CarThing with 4 wheels, and 8 properties liked to wheels?

Best answer by zyuan1

Hi,

 

I know that you may be wondering 4 (same) thingshapes cannot be attached to the same template.

 

You may change to 

1. Use 1 shape, which contains infotable as input.  You can keep your 2 properties in that

2. Create 2 shapes instead, 1 is front tires and 2 is back tires (or even 3 for backup tires) 

You can build 4 properties in a shape, or you can use just 2 properties since the 2 tires are exactly the same

3 replies

zyuan15-Regular MemberAnswer
5-Regular Member
February 20, 2020

Hi,

 

I know that you may be wondering 4 (same) thingshapes cannot be attached to the same template.

 

You may change to 

1. Use 1 shape, which contains infotable as input.  You can keep your 2 properties in that

2. Create 2 shapes instead, 1 is front tires and 2 is back tires (or even 3 for backup tires) 

You can build 4 properties in a shape, or you can use just 2 properties since the 2 tires are exactly the same

Support
February 27, 2020

Hi @xavalv.

 

If the previous response answered your question, please mark it as the Accepted Solution for the benefit of others on the community.

 

Regards.

 

--Sharon

16-Pearl
March 2, 2020

Perhaps it's a solution to define 4 properties on the template, Front/Back and Left/Right pairs. Property's type is ThingName and you can also define the expected template or shape.