2021-05-31 17:12:31 +05:00
|
|
|
from .application import application
|
2021-05-26 17:18:39 +05:00
|
|
|
|
|
|
|
def foamDictionary(filepath: str, entry: str, value: str = None, case: str = None):
|
|
|
|
args = [filepath, "-entry", entry]
|
|
|
|
|
|
|
|
if value:
|
|
|
|
args.extend(["-set", value])
|
|
|
|
|
|
|
|
application("foamDictionary", *args, case = case, stderr = False)
|
|
|
|
|