I'm messing around with the Change Marker object and need to get the width of the Change ID, so that the width of the frame can change depending on the length of the Change ID string. By using the REQUEST function I am able to get the width of the string, but changing the ID does not change the width of the frame. I'm assuming this is because of the auto text that is grabbing the actual Change ID, which is the string "<CHANGEID>", so the REQUEST function is grabbing the width of the literal string "<CHANGEID>" as opposed to the actual ID.
Is there a way to get the length of the auto text after it has been "calculated" so to speak? Or a way to grab the Change ID through a variable or parameter from the object? I don't see any global variables that would point to the ID. Below is the current result of my change marker with two different lengths of IDs.
Solved! Go to Solution.
Could you use the LAYOUT_CHANGE_HISTORY global? If there is another string to figure out how many Changes have been made, you might then be able to use it much like you do WALL_SKINS_PARAMS?
I can get a list of all of the change id's from LAYOUT_CHANGE_HISTORY but I can't figure out a way to match the specific marker's change id to that list. If there was only a way to get the information of the marker's linked change other than using the autotext "<CHANGEID>" then we would be good
This is what I was afraid of. If there was only a way to grab the information of the change the marker is linked to then everything would be much simpler, but for now I'll just have to put a "width" parameter a user can change manually. Thanks for your response