First time here? Check out the Help page!
1 | initial version |
You can case the ConstructionBase to a Construction by using to_Construction
:
construction = surface.construction
if not construction.empty? and not construction.get.to_Construction.empty?
construction = construction.get.to_Construction.get
end
Which is one way to do it.
2 | No.2 Revision |
You can case cast the ConstructionBase to a Construction by using to_Construction
:
construction = surface.construction
if not construction.empty? and not construction.get.to_Construction.empty?
construction = construction.get.to_Construction.get
end
Which is one way to do it.