🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Getting Node ID information interactively

User: "Rushabh Parikh"
Altair Community Member
Updated by Rushabh Parikh

Hello,

For the script I am working on, I need to interactively take say 50-60 node id from the model. That is the user shall click on 50-60 nodes (this number can be taken as an input) and those node ids needs to be recorded. Is there a way I can do this?

Regards,

Rushabh Parikh

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Ben Buchanan"
    Altair Employee
    Updated by Ben Buchanan

    *createmarkpanel would prompt the user to select entities.  If you want to limit how many nodes they can pick you could use hm_marklength to check the length of the mark (how many entities they selected) and then use tk_messagebox to tell them if they didn't select the right number of nodes.

    Is that what you are looking for?  Maybe tell me more about what you are trying to do and why to see if there is another way to do it too.