# How to Link/Attach one or more of PolylineRepresentation/s with PolylineSetRepresent

**URL:** <https://discourse.f2i-consulting.com/t/how-to-link-attach-one-or-more-of-polylinerepresentation-s-with-polylinesetrepresent/198>\
**Category:** FESAPI\
**Created:** [November 25, 2021, 2:12pm UTC](https://discourse.f2i-consulting.com/t/how-to-link-attach-one-or-more-of-polylinerepresentation-s-with-polylinesetrepresent/198 "2021-11-25T14:12:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Husnain](https://discourse.f2i-consulting.com/user_avatar/discourse.f2i-consulting.com/husnain/32/54_2.png) [@Husnain](https://discourse.f2i-consulting.com/u/Husnain)\
**Post date:** [November 25, 2021, 2:12pm UTC](https://discourse.f2i-consulting.com/t/how-to-link-attach-one-or-more-of-polylinerepresentation-s-with-polylinesetrepresent/198/1 "2021-11-25T14:12:57Z")

</div>

We are using java wrapper of fesapi 1.2.3.0.  
Could you please let us know how to link/attach one or more of PolylineRepresentation/s objects with PolylineSetRepresent object?

Thanks in advace.  
Regards,  
Husnain

---

<div class="post-metadata">

**Author:** ![philippeVerney](https://discourse.f2i-consulting.com/user_avatar/discourse.f2i-consulting.com/philippeverney/32/29_2.png) [@philippeVerney](https://discourse.f2i-consulting.com/u/philippeVerney)\
**Post date:** [November 25, 2021, 2:38pm UTC](https://discourse.f2i-consulting.com/t/how-to-link-attach-one-or-more-of-polylinerepresentation-s-with-polylinesetrepresent/198/2 "2021-11-25T14:38:13Z")

</div>

HI @Husnain

I do not think that what you ask for is even RESQML compliant.  
A PolylineRepresentation contains a single line.  
A PolylineSetRepresentation contains several lines.  
Use one or the other one, but not the two at the same time for the same dataobject.

I guess your question is more RESQML related than FESAPI related if I understand correctly your question.

---

<div class="post-metadata">

**Author:** ![Husnain](https://discourse.f2i-consulting.com/user_avatar/discourse.f2i-consulting.com/husnain/32/54_2.png) [@Husnain](https://discourse.f2i-consulting.com/u/Husnain)\
**Post date:** [November 25, 2021, 3:41pm UTC](https://discourse.f2i-consulting.com/t/how-to-link-attach-one-or-more-of-polylinerepresentation-s-with-polylinesetrepresent/198/3 "2021-11-25T15:41:43Z")

</div>

@philippeVerney  
I have Seismic Line data in PolylineRepresentation and HorizonInterpretation data that is build on that seismic line in PolylinsetRepresentation.  
Now lets assume there are 5 lines (5 different PolylineRepresentation objects) next  
5 HorizonInterpretations build on these 5 seismic line (1 PolylineSetRepresentation object having patches each patch having one horizon interpretation),  
So in that case there is a some why to attach/link one polylineRepresentation with PolylineSetRepresentation object…As shown in attach picture

 ![polylinsetRepresentation attachment with polylineRepresentation](https://discourse.f2i-consulting.com/uploads/default/original/1X/c759e11d3fd12fd8bfff23b5fe438e89827fb823.png)  
In attach picture obj xyz\_16 is polylineSetRepresentation that is attached with many polylineRepresentations objects like name\_33, name\_35, name name\_37 etc

---

<div class="post-metadata">

**Author:** ![philippeVerney](https://discourse.f2i-consulting.com/user_avatar/discourse.f2i-consulting.com/philippeverney/32/29_2.png) [@philippeVerney](https://discourse.f2i-consulting.com/u/philippeVerney)\
**Post date:** [November 26, 2021, 2:35pm UTC](https://discourse.f2i-consulting.com/t/how-to-link-attach-one-or-more-of-polylinerepresentation-s-with-polylinesetrepresent/198/4 "2021-11-26T14:35:40Z")

</div>

It looks to me as a really advanced question.  
Not sure if it is a RESQML question or a FESAPI one.

I am only sure that it would take me (much) more than what I generally spend on answer in this free forum.  
I can only let the community answering for now or hopefully I will come back on it when I’ll find more time.
