Is there any other way you can target the copied sketch and find those sketch entities by using the evaluator? Length, area, and so on. I normally create a loop looking through all the parameters searching for one that matches something like:
Dim LongerLine as sketchline = nothing
For each oLine as Line in osketch1.sketchlines
if oline.Evaluator.length = 10 then
LongerLine = oLine
end if
next
The above allows you to grab the dimension you may need. You can specify more than just one option. Note, that taking into consideration your needs and objects may change how you target or access these things. For example, the above will not work due to oLine not exposing the length. I have to get that value with another step.
Another option you have, is if all parameters and inputs are identical other than their values. That is, if the number of lines and objects within the sketches are identical. You could work out indexing each line within the original sketch. Then using those index numbers to apply changes to those same entities or dimensions within the copied sketch.
In this case it would look something like:
Dim oLineCount as integer = 1
For each oLine as Line in osketch1.sketchlines
if oline isnot nothing then
oLineCount = oLineCount + 1
logger.info("oLine name: " & oLine.name & " Line number: " & oLineCount)
end if
next
'Then you set them later like this
Dim oNewLine as line = osketch1.sketchlines.item(1) 'Where the 1 in this is any value you've found to hold the proper line object.
The above is great for situations where the number of items or things you're searching for do not change in their searched order. That is, if you ran a check on one sketch vs another. Everything could be directly transferred to that sketch without adding or removing anything that messes with this index.
Edited to add: Instead of targeting the sketch objects you could make a list of the parameters or dimensional constraints within the sketch object. The idea is getting to anything that holds a pattern you can then transfer to the copied sketches with new values.