I would like to make a custom user field for resources that displays the filename of the 3D Object that it is derived from. How would I do this?
Please try using the following User Field Formula - 3D.LEVEL_1.NAME
Answer Verified By: Gary Zimmer
Hi Arpit, I tried that and got an error:Error: cannot parse UF in formula for UF[Parent Obj 2] : Error: unknown element in formula starting [LEVEL_1.NAME ]
Can you please upload a sample SP file that I can test the formula out in?https://communities.bentley.com/help/w/be_communities_help/7079/communities-secure-file-upload
Even screenshots of what you are trying to achieve and how your Resources are set up will help as well.
I can't share due to security and size limitations, but here's my situation. I had to make modifications to a revit model and used AutoCAD to split many objects at once and exported as DWG. This lost most of the BIM information so to try and organize the 3D objects and/or resources, I'd like to be able to see in a user field for either what the AutoCAD layer name is (immediate parent, here it's A-COLS-1) and/or the parent file name.
Thanks for the additional info, Gary.
You can still use the following code to get the root parent file name, though remove 3D when working with 3D User Field -