Skip to content

Commit ca5ae0c

Browse files
Assign correct CS to the Antenna Inserted
1 parent 785163b commit ca5ae0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyaedt/modeler/parts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ def insert(self, app, units=None):
518518
"""
519519
if self._do_offset:
520520
self.set_relative_cs(app)
521-
antenna_object = self._insert(app, units=units) # Create coordinate system, if needed.
521+
antenna_object = self._insert(app, target_cs=self.cs_name, units=units)
522522
else:
523523
antenna_object = self._insert(app, target_cs=self._multiparts.cs_name, units=units)
524524
if self._do_rotate and antenna_object:

0 commit comments

Comments
 (0)