Using "!" or "s{ }"?


i am testing if C++ comments work in designscript?
But does this someone using it?

! #means not in C++

can i say something like not empty not null, not int 1, …

Can i fill a string value with “s{ }” export to ifc and it appears " " in a viewer? (could be it is not for dynamo-forum :wink: )



! is also ‘not’ in design script - quite a few mathematical syntax’s align in many languages.

s{} won’t allow you to define a string directly; that is only done via the quotation marks method, or by adding a string to something else. I have previously manipulated IFCs in this way, but the exact method to do so will depend on your task and data set.

1 Like