# Interface a smart component and an Add-in

**URL:** <https://tech-community.robotics.abb.com/t/interface-a-smart-component-and-an-add-in/8085>\
**Category:** Developer Tools\
**Tags:** c, robotstudio-sdk, addin, smart-components\
**Created:** [February 6, 2018, 8:21pm UTC](https://tech-community.robotics.abb.com/t/interface-a-smart-component-and-an-add-in/8085 "2018-02-06T20:21:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bpena](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/bpena/32/793_2.png) [@Bpena](https://tech-community.robotics.abb.com/u/Bpena)\
**Post date:** [February 6, 2018, 8:21pm UTC](https://tech-community.robotics.abb.com/t/interface-a-smart-component-and-an-add-in/8085/1 "2018-02-06T20:21:36Z")

</div>

Hi,

I was wondering how you would go about creating a sort of user interface to control a smartcomponent. For example lets say we have a smart component that represents an equipment that behaves as it would on the floor. I want to create a replica of an HMI for that equipment, a UI, that will control the “equipment” as an operator would on the floor. I was thinking you could create an add-in where all the graphical objects would sit, but then how do I interface it with a smart component?

Many Thanks!

---

<div class="post-metadata">

**Author:** ![scottdf93](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@scottdf93](https://tech-community.robotics.abb.com/u/scottdf93)\
**Post date:** [March 11, 2021, 8:42am UTC](https://tech-community.robotics.abb.com/t/interface-a-smart-component-and-an-add-in/8085/2 "2021-03-11T08:42:15Z")

</div>

```auto
SmartComponent smartComp = (SmartComponent)station.GetAllObjects().First(x => x.TypeDisplayName == "SmartComponent" && x.DisplayName == "YourSmartComponentName");

```

This will return your smart component object, you can then drive bindings and IO directly from the add in using this
