← All ideas
  • Published 19 Apr 2025

Passon custom text as commandline argument

I want a feature where I can retrieve the text passed on by user in commanline argument inside blender so that I can setup scene size or input text value.

A simple argument --custom followed by "my text here" would be enough to catch it inside blender and setup the scene according to the values like "my text|size=9|font=arial" and rest can be caught up in geomtry nodes.

This will help in creating custom rendering websites

0%

Development Status: Open

Upvote 0 Downvote 0
saurabhgayali
19 Apr 2025

2 Comments

jeroenbakker

Blender uses the regular '--' to pass any other paramteres to Python. Not sure why we need another mechanism. See docs.blender.org/manual/en/latest/advanced/command_line/arguments.html

-- 
    End option processing, following arguments passed unchanged. Access via Python's 'sys.argv'.
Bill-Spitzak

Or -d<name>=value so you could set more than one custom text.