Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

changes to wall opening are reset after reselecting

1 REPLY 1
SOLVED
Reply
Message 1 of 2
c_hanschen
297 Views, 1 Reply

changes to wall opening are reset after reselecting

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

 

 

1 REPLY 1
Message 2 of 2
c_hanschen
in reply to: c_hanschen

I think i made a beginner mistake 🙂

 

i did not started a new transaction.

 

problem solved!

 

Thanks anyway.

 

Chris

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community