RMDiekmann Posted November 22, 2023 Share Posted November 22, 2023 I am needing to gather custom record information from a destination device of a circuit in a circuit report. I am currently using .....=IFNA(OBJECTDATA('eval circuit destination device', 'Device', 'Power'), OBJECTDATA('eval circuit destination device', 'Device-External', 'Power')) to bring back device info, but I would also like to bring back custom record info of those devices as well. Is there anyone out the that can help with this? Quote Link to comment
Pat Stanford Posted November 22, 2023 Share Posted November 22, 2023 If the record is attached to the object that is displaying in the database subrow, then a simple formula of: ='Record'.'Field' Where Record is replaced by the record name and Field is replaced by the Field name should get you what you want. If this is something else we will need a better description of what you are trying to do to be able to help. Quote Link to comment
RMDiekmann Posted November 22, 2023 Author Share Posted November 22, 2023 @Pat Stanford Sorry Pat... thanks for the quick response. My report criteria is set up for circuits in CC, Not the device it is connect to. I believe the function that I posted evaluates the circuit destination device and returns information from that device. I am looking for custom record information about that device that the circuit is connected to. Quote Link to comment
Pat Stanford Posted November 23, 2023 Share Posted November 23, 2023 @RMDiekmann Can you post a simplified file with a couple of objects, the Report, and what field and what Record and Field(s) you are looking for. It is probably going to take a custom Worksheet Script to get what you want. Databases only easily report data that is directly attached to the object reported in the database. Quote Link to comment
Vectorworks, Inc Employee Nikolay Zhelyazkov Posted November 23, 2023 Vectorworks, Inc Employee Share Posted November 23, 2023 Hello @RMDiekmann, You can use directly this formula in this case: =OBJECTDATA('eval circuit destination device', '<custom record name here>', '<custom record field here>') If the destination device has this custom record attached it will give you its data. Best Regards, Nikolay Zhelyazkov 2 Quote Link to comment
RMDiekmann Posted November 24, 2023 Author Share Posted November 24, 2023 Thank you @Nikolay Zhelyazkov this nailed it. I tried something similar with my original post but was missing a parentheses. Thank you both for the effort. I love finding these little time savers. This workflow I am working on is going save our company about 6-9 man hours on every project we do. Happy Holidays to you both. 2 Quote Link to comment
Vectorworks, Inc Employee Conrad Preen Posted November 27, 2023 Vectorworks, Inc Employee Share Posted November 27, 2023 On 11/24/2023 at 4:44 PM, RMDiekmann said: This workflow I am working on is going save our company about 6-9 man hours on every project we do. @RMDiekmann And that is what ConnectCAD is all about !!! 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.