Create Similar in Revit can preserve instance parameters of family files,But I couldn't find a type API that can achieve this effect.
Copying cannot create a rotated family with an unrotated state.
Yes. Properties and parameter values in types and instances need to be copied from the original and repopulated onto the copy.
Basically, the Revit API is a wrapper around the UI functionality. The Create Similar command just does what it does in the UI.
Actually, that's exactly what I get when I try "Create Similar" with a couple of different families.
Copy and paste, and copy to clipboard and paste both include any rotation of the family, but Create Similar places the families without rotation.
Edit: That is not using the API. That's just using the user interface. Does it work different through the API?
Hi,
Well actually, depending on the family type the rotation can be retrieved and inverted.
For instance if the family's location is a LocationPoint, it actually has a property "Rotation"
So Copy family and then apply a inverted rotate?
I'm guessing the Create Similar places a new family and then applies the values of the selected onto the new one, except for some builtin parameters like Mark,IfcGuid.
Can't find what you're looking for? Ask the community or share your knowledge.