Community
Netfabb Forum
Welcome to Autodesk’s Netfabb Forums. Share your knowledge, ask questions, and explore popular Netfabb topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to set label font in Lua scripts

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
blinue
288 Views, 3 Replies

How to set label font in Lua scripts

Hello everyone!

 

We are using Lua scripts to automate mesh labeling. I have read through the documentation of Stamper and found that it doesn't provide an API to customize the typeface. According to the documentation: "The stamper uses the typeface, size, style, and variant set in the Settings." I tried changing the default label font in Netfabb's settings, but it didn't work. Could anyone please advise on the correct way to set the label font?

 

Thank you!

Labels (2)
3 REPLIES 3
Message 2 of 4

Hello, @blinue,

 

Welcome to the Netfabb forum!

 

I must apologise, the documentation is wrong. The typeface selection, including its weight, variant, style, size, and other parameters currently have no effect on the Lua stamper; they are set internally to defaults when the object is created and there are no properties or methods exposed to affect them.

 

I will correct the documentation.

 

 

Kind regards,

Steffen

 




Steffen Anders

Autodesk Netfabb Team

Netfabb resources: Online HelpNetfabb knowledge baseForumsHomepageYouTube
Message 3 of 4

Thank you for your quick response! So, it's not possible to change the label font in Lua? Are there any alternative solutions?

Message 4 of 4

With the release of Netfabb 2025.1 today, this has been fixed and even expanded with greater customisability.

 

The documentation page https://help.autodesk.com/view/NETF/2025/ENU/?guid=NETF-LUA-STAMPER has been updated accordingly.

 




Steffen Anders

Autodesk Netfabb Team

Netfabb resources: Online HelpNetfabb knowledge baseForumsHomepageYouTube

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report