Session Type Issue
I've come across a peculiar issue...
When I load an assembly using the Hook.OpenFile() method, the Session.SessionType == ADObjectSubType.AD_ASSEMBLY
When I Get the Hook object and get the same session using the Hook.Sessions property, the
Session.SessionType == ADObjectSubType.AD_PART
It looks like the session IS in fact a PartSession because my code continues to work as though it was a part. The part was the first part in the model.
I've come across a peculiar issue...
When I load an assembly using the Hook.OpenFile() method, the Session.SessionType == ADObjectSubType.AD_ASSEMBLY
When I Get the Hook object and get the same session using the Hook.Sessions property, the
Session.SessionType == ADObjectSubType.AD_PART
It looks like the session IS in fact a PartSession because my code continues to work as though it was a part. The part was the first part in the model.