Hi,
I am new to VBA Microstation and i have tried researching what this means but i still don't understand it fully, can someone please explain to a BEGINNER what this line means? i really need to understand this line of code to finish a macro for work.
Set target = ActiveModelReference.GetElementByID(DLongAdd(IDholder, DLongFromLong(1)))
Thank You
I don't like this shortened code, because it's harder to read it and undestand. But the function is quite simple at this case:
So on the whole, it doesn't do anything else that it sums two numbers and element with this ElementId value is returned.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Answer Verified By: kevindragonduong
Thank you very much Jan