Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AP214: Enums in select types mixed with reference types #106

Closed
ConorStokes opened this issue Dec 7, 2023 · 1 comment
Closed

AP214: Enums in select types mixed with reference types #106

ConorStokes opened this issue Dec 7, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ConorStokes
Copy link
Contributor

AP214 has select types (type unions) that mix enums and reference types.

For example rotation_range_measure:

TYPE rotational_range_measure = SELECT 
  (plane_angle_measure, unlimited_range);
END_TYPE; (*-- 10303-105: kinematic_structure_schema*)

Here unlimited_range is an enum and plane_angle_measure is a reference to another STEP entity. The current code-gen doesn't handle this case because IFC encapsulates these in a value type.

@ConorStokes ConorStokes self-assigned this Dec 7, 2023
@ConorStokes ConorStokes added bug Something isn't working enhancement New feature or request labels Dec 7, 2023
@ConorStokes ConorStokes moved this to Todo in Sprints Jan 3, 2024
@ConorStokes ConorStokes moved this from Todo to In Progress in Sprints Jan 4, 2024
@pablo-mayrgundter pablo-mayrgundter removed the bug Something isn't working label Jan 5, 2024
@pablo-mayrgundter
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

2 participants