Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
WCrihfield
in reply to: anuprasad_kkh

Hi @anuprasad_kkh.  I had never noticed that when working on a sheet metal part, and currently in edit mode for the flat pattern, it does not offer you the 'Assign Name' option within the right-click menu when you have a face, edge or vertex selected.  The flat pattern in a sheet metal part is sometimes a bit more complicated to work with when accessing it by code, because it is like its own separate ComponentDefinition, separate from the main SheetMetalComponentDefinition.  The FlatPattern object type itself is derived from the ComponentDefinition object type.  So, the FlatPattern can have its own set of Parameters (and other things) that are not available while editing the folded part.  With this in mind, the 'Assign Name' functionality is just assigning a specifically named AttributeSet with a specifically named Attribute in it, and setting the Value of that Attribute to the name you specify.  So, you could just use your own different/custom code routine to assign names to the objects in the FlatPattern yourself, if you needed to.  There are several examples of codes for that task here on this forum, but I may also be able to help you with something like that if needed.  But since I do not do a lot of drawing automation, I can not 100% guarantee that it will work as intended, since I have not tested it on a flat pattern drawing view like that before.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)