Simlab Scripting

Skull
Skull Altair Community Member
edited October 2020 in Community Q&A

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"?>image.thumb.png.34a108285efb5ceaacb80137692cdbeb.png

 

 

Tagged:

Answers

  • Kamalraj
    Kamalraj
    Altair Employee
    edited June 2018

    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.

    Unable to find an attachment - read this blog