-
-
Notifications
You must be signed in to change notification settings - Fork 120
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
Reading BlockVisibilityParameters #514
Comments
Hi @mme1950, I've been looking at the dynamic block properties, here is PR: I've changed some of the properties on the class that you added, but I think it gives a better structure to read the dynamic parameters. |
Hi @DomCR , |
Hi @DomCR BlockFlipParameter -> Block2PtParameter - > BlockParameter -> BlockElement -> EvaluationExpression |
Correct, the issue can be closed, the current PR is an improvement over your existing work.
I don't have any documentation besides the Open design pdf, I've saved a file with a simple dynamic block and controlled values, and I compare the dxf with the values that I can get from the dwg. For the classes inheritance I'm using the dxf format as an example, it is simpler to do it this way and gives away some clues of how the information is stored. A lot of fields are stored in the exact same order and the |
Hi @DomCR, |
@DomCR BTW: Merry Christmes! |
Hi @DomCR,
The part between the dashed lines may have to be added to the |
We are reading a dynamic block with a "flip-grip".
The
BlockVisibilityParameters
object associated with the block record specifies a list entities that shall be visible for each visibility state.When there is a flip-grip another list of handles pointing to some objects representing the grip etc. is added.
In our example three handles apperar referring to objects of the following types. We do not have any documentation about these types.
The number of entities of this list is read but ignored in the current implementation of the reader for
BlockVisibilityParameters
.If this number is non-zero the respective number of handles must be read. As long we do not read the object types that are referenced by these handles, these entries can be ignored.
We will fix this issue on open a PR.
The text was updated successfully, but these errors were encountered: