An expression of a filename

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Post Reply
User avatar
totalcad
Posts: 70
Joined: Sun Oct 20, 2019 9:09 pm

An expression of a filename

Post by totalcad »

Hi!
I'd like to make the same automatic name of a Part as a FC file name is. And also an automatic relabeling of a Part when I rename a FC file. Is there an expression method for doing this?
file_name_expression.png
file_name_expression.png (189.88 KiB) Viewed 2027 times
I couldn't figure out from here:
https://wiki.freecadweb.org/Expressions

May be somebody could make it with the attached file or other example file?(great thanks!)
Thank you!
Attachments
laser_cut_sheet_metal_4mm_detail_1.FCStd
(33.84 KiB) Downloaded 29 times
Post Reply