Sorry for the delay in responding, work has had to take priority for the last few days.
I have been in direct contact with one of the Enscape Software Developers (a very helpful chap by the name of Christian), and sent him the family that I had been working on. Following various e-mail discussions I believe I now have a clearer understanding of how the Enscape Assets work, as follows:
Within Revit, the Revit place holder family contains the following parameters:
Revit Height Parameter – This is the variable that controls the height of the Revit Geometry.
EnscapeAssetId – This is the code that the Enscape Asset will be swapped out to – This code is predetermined by Enscape and not used by Revit.
EnscapeNativeAssetHeight – This is a height that is predetermined by Enscape and is not used by Revit.
What Happens When Enscape is Run:
Revit Height Parameter – Revit variable that is read by Enscape.
EnscapeAssetId – Used by Enscape to swap out the relevant Enscape asset.
EnscapeNativeAssetHeight – This is read by Enscape.
When Enscape is run it uses the above information to calculate a Uniform Transformation Matrix (scale factor) which is used to scale the Enscape Asset within Enscape (width, height and depth).
Something similar to this:
Revit Height Parameter (RHP) / EnscapeNativeAssetHeight (ENAI) = Uniform Transformation Matrix (scale factor).
For example:
Revit Height Parameter (RHP) = 1200
EnscapeNativeAssetHeight (ENAI) = 950
1200/950 = 1.2631 Uniform Transformation Matrix (scale factor).
(I am sure the actual formula is probably more complicated than this, this just to give a simplistic example)
As this scale factor is applied as a Uniform Transformation Matrix for width, height and depth this may explain some of the discrepancies that have been noticed. For example if the Revit place holder geometry is proportionally different to the Enscape Asset the two would never match.
Originally I think I was over complicating things in my Revit Family by trying to get Revit to calculate the scale factor, which was actually exaggerating the discrepancies.
It is my understanding that Enscape are currently reviewing several options/ways to get better/more usable place holders (and a better match between the size of the Revit place holder and the Enscape asset).
Please Note: All of the above is just my understanding / interpretation of how the process works, and apologies if I have miss interporated any of the process.
Going forward I still feel the following items need addressing / improving upon:
· There needs to be a better link between the Revit geometry and the Enscape geometry to ensure the size difference issues are removed (there may be a way to do this within Revit, but the exact sizes of the Enscape asset geometry would need to be know – I will keep trying).
· The Revit place holders need to be on the correct Revit sub-categories (people are not plants).
· The Revit place holders need a material parameter.
· The Revit place holders should contain additional parameters to allow for scheduling / reporting etc.
· Better Revit geometry – so the place holders can be used on drawings that are produced from within Revit.
Apologies for the wordy response, and not exactly a definitive answer to the original question. I have suggested to Enscape that it may be benificial ask the Revit users via the Forum what functionality / parameters they would like to be include in the place holders.
Once again Enscape is a fantastic addition / bolt on to Revit and it may be that as a Revit user I can see the wider potential of the place holders within the Revit environment.