How to realize the two-dimensional and three-dimensional position linkage of forge

how to realize the spatial position linkage (switching) between 2D and 3D in forge, instead of the mapping relationship between 2D and 3D components in the official example?

Feb.18,2022

refer to
https://github.com/Autodesk-F.

.

there is no better interface in this area for the time being


currently 2D to 3D linkage, we use the revitId of the same component to find its respective dbId, in both modes to achieve select () and fitToView in 3D;
and 3D to 2D linkage, as above, the select () method is not affected, but the fitToView () method in 2D is not valid, so we need to find out the component geometry information and then implement it ourselves.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b361a8-34398.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b361a8-34398.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?