Skip to main content
1-Visitor
March 22, 2017
Question

How to model 4 bulbs in house at design time ( composer)

Refer - House Template example in developer tutorial

I have House template that implements BulbThing (with On/Off and luminance properties) shape.

I have to create a house thing having 4 bulbs , how to do it ?

2 replies

1-Visitor
March 22, 2017

hi

    you create separate thing for each bulb(ie bulb1,bulb2,..)  and use House template  as ThingTemplate.

regard,

dinesh

Translate
5-Regular Member
March 22, 2017

Hi Aniruddha, as dinesh already noted, as it appears from the description that you already have your Home Template implementing BulbThingShape, then just by creating Things that inherit HomeTemplate you will have all the properties/characteristics of BulbThingShape included

Translate