There are particular components for curtain walls.
There is no curtainwall class. This should work with all types of walls
use the curtain wall components
Can you point the one that gets the profile?
I see what you are saying, the wall profile component should work if its both a non-curved curtain wall/wall.
@kike Is this Revit API issue?
It seems that we have a bug on this component.
Meanwhile you can use this component…
Thanks for reporting.