I would like to unlock the ceiling sketch that is locked to walls in a project.
I would probably collect all ceilings, access all their sketch lines and then unlock every padlock to a wall or just all padlocks. is this possible i cant find the properties to do this?
Solved! Go to Solution.
Solved by jeremytammik. Go to Solution.
If the elements are pinned you can use the Element.Pinned property.
If they are constrained, the constraint is a separate element that you might be able to delete.
Hi @jeremytammik :
I would like to ask a further question:
How can I access the constrain object?
For example, in Family document:
In family doc, there are a lot of "locks". It it possible for API to obtain this object?
Sometimes I want to know which two objects are constrained by this contrain, or I want to programmatically delete it.
Dear @jlpgy ,
Have you installed and tested RevitLookup?
https://github.com/jeremytammik/RevitLookup
If not, I would suggest doing so right now.
That should enable you to immediately answer your question yourself.
Good luck and have fun!
Jeremy
I found it, it's a <Dimension> object, can be accessed by Snoop DB.
Can't find what you're looking for? Ask the community or share your knowledge.