Simlab Scripting
I made an edge group of two edges by using 'Select Features' on a body. Now I want to create a coordinate system by calling edges from that group by using 'SimlabDoc.GetEntityFromGroup'.
But since their are two edges in the group, Simlab is not creating the Coordinate System from the required edge group. Any Help?
Is it possible to call each edge from the group, like we can do with arrays?
Part of the code is attached for reference.
<?xml version="1.0" encoding="UTF-8"?>
Answers
-
Hi,
That EdgeIdLocalRemesh3 variable may contain more than 1 edge ID's. If we send one ID to create LCS then it wont be problem. So please give the edge input for LCS creation like below.,
'<Edge>'+ EdgeIdLocalRemesh3[0] +'</Edge>\'
Also attached a sample script for your reference.
0