Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 08:03:29 +0000



[Programming Help] - ACSIL: Getting the actual name of a Study (by ID)?

View Count: 429

[2022-07-04 16:57:19]
ycomp - Posts: 316
Is there a way to get the Study name (I mean the actual study name, i.e. the sc.GraphName, not the short name) using the ID of a study?

I would like to set an input that refers to another study. Then make sure that this study is the correct type of study by comparing the name. But if a shortname is set then it could be anything so there is no way to check for certain using sc.GetStudyName() since it will return the shortname if there is one.
[2024-11-15 12:04:52]
User267000 - Posts: 6
Hello,
I have this problem too,
is there any solution ?
[2024-11-15 14:28:11]
User431178 - Posts: 540
Yes, here are some documented functions:

sc.GetBuiltInStudyName
sc.GetStudyInternalIdentifier()

You could also search in sierrachart.h and see what functions are available, as not all are documented.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account