Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

falken10vdl
Copy link
Contributor

@falken10vdl falken10vdl commented Sep 9, 2025

This is a proposal to help generate relevant expressions for the literals in Text annotations. It provides the list of available properties or quantities if there are products assigned for the user to choose.

Kooha-2025-09-09-17-55-59.mp4

Cheers!

@theoryshaw
Copy link
Member

Awesome! Anyway for these helpers to be available to the tag type as well? Most of my tags are driven by a type, and are not instances.

...

Pulling the object's materials attributes would be awesome as well. Perhaps for a future roadmap. :)

@falken10vdl
Copy link
Contributor Author

falken10vdl commented Sep 9, 2025

@theoryshaw I have added both the attributes for the assigned product and for the assigned product type. Is that what you are asking?

image

I have setup a filter (by default no filter) so that the attributes shown are meaningful. My knowledge on ifc is quite limited so I have just put a fairly simple list...

Object's materials have a lot of possibilities. What would be the most relevant info?

@falken10vdl falken10vdl marked this pull request as draft September 10, 2025 17:01
@falken10vdl
Copy link
Contributor Author

I am working to mimic as much as possible all options available in get elements and formatting of selector syntax so it is easy to buildup the queries

@theoryshaw
Copy link
Member

Is that what you are asking?

I meant when you select, and are working with the 'IfcTypeProduct` itself.

Maybe in this mode, there's an eyedropper where you can select a object to pull out the suggestions... not sure.

20250910_1427.mp4

@falken10vdl
Copy link
Contributor Author

falken10vdl commented Sep 10, 2025

I think I understand now. Currently it is true that the helper is based on the fact that there is an object assigned from which it will pull the different parameters (psets, qsets, material, etc.) In the case there is not assigned product I agree that it makes sense to have an eyedropper to pull out suggestions...
Let me include it. Currently I have set the PR to draft as I am changing it to try to get basically as much as possible following the selector syntax:
image
Cheers!

@falken10vdl
Copy link
Contributor Author

@theoryshaw I have added the eyedropper so one can create the literals based on the attributes of other products, which is useful if one will change the assigned product, whic is the case for the IfcProductType. I am still trying to get the helper tool for all the fields of the selector syntax.

Kooha-2025-09-11-17-37-24.mp4

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants