This content has been marked as final. Show 1 reply
As far as I know, Solidworks will require a leader when you attach a note to an object. When you select "no leader", it is still "connected" to that object with a leader, the leader is just "hidden". If you used a leader, you would not need API. So if you want it to be leaderless and appear over the part, the easiest way to do this repeatedly is with the API. I'm not sure what you mean by "the size", you can change the standard font height.
The rest (having it automatically pull the custom property for each part) can be automated without API. Simply create the first one by creating the note, then linking it to the custom property. Each additional note created after that (without cancelling out of the note function) will automatically be filled like the previous, and thus should automatically show the length.