question

Robert S3 avatar image
0 Likes"
Robert S3 asked Matthew Gillespie commented

Issue with changing default Z-location of the walls

Hello, with the new floor level feature you added in 22.1, I tried to change the default Location.Z property of the "Walls" object in order to relate it to a certain floor level (4 meters in my case).

Unfortunately, on reset this value always returns back to 0. I tried to "Clear Object Reset Location" and tried changing the default z-location of this object in the tree, but none of this helped.

capture2.png


I was able to change Z-position value of pillars as in this example below:

treenode Walls = Model.find("Walls").find(">visual/drawsurrogate");
for (int i = 1; i<=Walls.subnodes.length; i++)
{
Object CurrentWall = Walls.subnodes[i];
CurrentWall.location.z = 4;
}
Object wall = model().find("Walls");  function_s(wall, "setWallsDirty");

But in this case FlexSim still considers object's "Wall" Location.Z to be 0 and it will be considered to be on the 0m Floor level instead of the 4m Floor level even though all pillars are drawn correct.

capture1.png


I assume it is a bug, if not let me know how to fix it. Thanks.

FlexSim 22.1.0
bugwalls22.1floor level
capture1.png (4.3 KiB)
capture2.png (2.6 KiB)
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Ryan Clark avatar image Ryan Clark commented ·

Hi @Robert S3,

It's hard to know how to help without looking at your model. To receive a more accurate solution, please post your model or a sample model that demonstrates your question.

Proprietary models can be posted as a private question visible only to FlexSim U.S. support staff. You can also contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·
Ryan Clark avatar image Ryan Clark commented ·

Hi @Robert S3, was Matthew Gillespie's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Matthew Gillespie avatar image
2 Likes"
Matthew Gillespie answered Matthew Gillespie commented

The Walls object hasn't been updated to be able to show/hide individual walls or to work with the Floors panel. I'll add this to the dev list to look into. Thanks for pointing this out.

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·
@Robert S3 This issue is fixed in 22.1.1
2 Likes 2 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.