API: id of shape created via createShape
67 0
andreasbernhofer 3 months ago
Hi, is there an easy way to get the id of a shape added to the editor via `api('createShape',...)`? My current workaround is to get all ids from the project source json before and after calling the api and subtracting them from each other. I'd suggest that `api('createShape',...)` could just return the ids of the shapes created, if I didn't miss anything. At the moment it returns nothing...
Login or Register to add a comment
你现在访问的是EasyEDA海外版,使用建立访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow
We use cookies to offer you a better experience. Detailed information on the use of cookies on this website is provided in our Privacy Policy. By using this site, you consent to the use of our cookies.