changes to wall opening are reset after reselecting

changes to wall opening are reset after reselecting

c_hanschen
Advocate Advocate
452 Views
1 Reply
Message 1 of 2

changes to wall opening are reset after reselecting

c_hanschen
Advocate
Advocate

I'm trying to make an addin that can:

select all rectangular wall openings on base of range of parameters, bij example all openingen with base offset between 800 and 850

than i want to perform an vertical movement of the opening.

 

i have it all worked out, i change the following parameters:

- Base Offset

- Top Offset

- Location (by Location.Move)

I can not change the Unconnected Height Parameter while it is readonly

 

after running the code, the opening is changed, but the value of Unconnected Height is not recalculated so its not correct.

after reselecting the opening, the original values are restored!

 

its is driving me crazy.

 

does anyone know how to solve my problem?

maybe i need to change the height of all 4 points insteed of the parameters?

 

any help wil be appreciated!

 

Chris Hanschen

LKSVDD Architecten Hengelo

Netherlands

 

 

0 Likes
Accepted solutions (1)
453 Views
1 Reply
Reply (1)
Message 2 of 2

c_hanschen
Advocate
Advocate
Accepted solution

I think i made a beginner mistake 🙂

 

i did not started a new transaction.

 

problem solved!

 

Thanks anyway.

 

Chris

 

0 Likes