Tutorial broken: How to Create a Custom Part Symbol
complete
a
adriantp
- following https://www.youtube.com/watch?v=fPsfD8qol6g
- https://www.flux.ai/adriantp/lm339-broken
- drag the part into itself in order to update the pin locations
- logo menu > part updates > all > receive latest drafts
- click on a pin to update its location
- "Something bad happened and Flux cannot save your work." (see flux-attachment-1.png)
- start from scratch with https://www.flux.ai/adriantp/lm339-take-2
- symbol won't load (see flux-attachment-2.png)
- hard refresh (cmd-shift-r)
- symbol loads
- change pin location
- "Something bad happened and Flux cannot save your work." (see flux-attachment-3.png)
in each case, frequent (but not consistent) errors in js console and network tab of browser dev tools: 422 error from HTTP POST to https://api-iam.intercom.io/messenger/web/events {"type":"error.list","request_id":"00045sjc8abs1eg9nulg","errors":[{"code":"422","message":"Cannot have more than 120 active event names"}]}
same problem before and after os and browser update.
Nico
complete
Updated tutorial: https://docs.flux.ai/how-tos/how-to-create-a-custom-part
a
adriantp
Nico: thanks! the circular dependency thing makes sense; i thought it was odd that the old tutorial had you drag the part into itself. i also love the new tutorial explaining the pixel alignment and dimensional guidelines in more detail, as i've struggled with my svg symbols' internal coordinates not corresponding at all with the coordinates in flux once the symbol is associated with the component, resulting in tons of trial-and-error and frequently requiring fractional coordinate values in order to achieve perfect alignment between the pin location and the symbol artwork.
Nico
adriantp: That's great to hear! Do let me know if there's anything that's not clear.
Nico
Hey adriantp,
We found that adding a part to itself can create circular dependencies that will take some time to figure out. That's why you were having this issue. I've updated the tutorial (https://docs.flux.ai/how-tos/how-to-create-a-custom-part) with a new video that walks you through the updated process.
Let me know if you find it useful.
Cheers!
Greg Dingle
under review
Greg Dingle
@adriantp thanks for reporting this bug in pin location updates. Could you make your projects public so we can investigate them specifically?
a
adriantp
Greg Dingle: I would gladly do that, but I'm not sure how. I thought they were already public, since I published them to the parts library.
Additionally, I was able to work around the issue by importing the component I was creating into a separate document, rather than importing it into itself as the video suggested, after which point I stopped being blocked by the error described above, and was able to complete the pin location steps of the video.
Greg Dingle
adriantp: Thanks for the update. I'm going to rename this issue and forward it to our documentation team.
As for making your projects public, you just need to click on the share button in the upper right.
a
adriantp
Greg Dingle: Unfortunately I am unable to make them public; changing the sharing settings results in the same error message.
Greg Dingle
adriantp: Interesting. I'll investigate more.