DynamoDS/Dynamo — pull request #2348 by Randy-Ma (2014-09-08 03:37:37+00:00)
Title: Fix MAGN-3472 Adaptive Component Location cannot extract location from AC in divided surface

@sharadkjaiswal @ikeough

An family instance created from an adaptive component may not necessarily be an adaptive component instance. The original function AdaptiveComponentInstanceUtils.GetInstancePlacementPointElementRefIds fails for the related defect is because the panels on the divided surface are not adaptive component instances any more.

This submission will check whether the instance is adaptive or not. If yes, it sticks to the original algorithm to get the locations. Otherwise, GetFamilyPointPlacementReferences is used.