How to copy elements from one coordinate system to another coordinate system in FEMAP
How to copy elements from one coordinate system to another coordinate system in FEMAP
(OP)
Hi everyone.
It will be nice if you could help me out in copying elements from one coordinate system to another coordinate system in FEMAP.
Thanks
It will be nice if you could help me out in copying elements from one coordinate system to another coordinate system in FEMAP.
Thanks





RE: How to copy elements from one coordinate system to another coordinate system in FEMAP
This macro will do the following:
1) ask you for a selection of elements you want to copy
2) ask you for the original CSys
3) As you for the destination CSys (selection, i.e. there can be several)
For of each of these, it will
NB: this was created for "simple" elements like 1D, 2D, 3D and rigids. I don't use SlideLines often for example, the macro may not be robust for these more "exotic" elements.
APav
RE: How to copy elements from one coordinate system to another coordinate system in FEMAP
I did find a problem with using it when it encountered node IDs that already existed. The script creates new nodes based on an offset, but if it finds one that already exists it assigns the next empty ID. But later on when it assigned nodes to the new elements it was still wanting to use the offset node ID instead of the femap assigned node ID. The only way I could figure out how to ensure the IDs matched was to create a dictionary object to keep track of the original IDs and the new IDs.
Script does the same thing, but seems to handle any overlapping of Node IDs.
Danny
RE: How to copy elements from one coordinate system to another coordinate system in FEMAP
Line 109 should be: App.feAppMessage(FCM_NORMAL,"Created copies in Cys ID " & CStr(cs.ID))