cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Frank Beister
Moderator

DEFINE SYMBOL_FILL

Has anyone successfully used the DEFINE SYMBOL_FILL-command? If I use it slavishly like in the manual I get a "need numeric parameter"-error in the section of the macro-call. Am I doing something wrong or is it a bug? I attach a simple (not working) example.
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
... und im Übrigen bin ich der Meinung, dass Trockenbauwände einschichtig zu modellieren sind.
2 Replies 2
David Maudlin
Rockstar
F. wrote:
Has anyone successfully used the DEFINE SYMBOL_FILL-command? If I use it slavishly like in the manual I get a "need numeric parameter"-error in the section of the macro-call. Am I doing something wrong or is it a bug? I attach a simple (not working) example.
F. Beister:

I have not used this command, but I see that you have a "get ( 8 )" as one of the parameters, but no "put" statement. When I substituted 8 numbers for the get ( 8 ), the error message went away.

DEFINE SYMBOL_FILL name 1, 1, 1, 1, 1, 1, 1, 1,
frequenzX, frequenzY, verschiebungX, verschiebungY,
winkel, skalierungX, skalierungY,
macroname PARAMETERS a=1.1, b=1.1, h=hoch


HTH

David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC29 USA Perpetual • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro OSX14 | 36 gb ram
Frank Beister
Moderator
Thanks David. Seems to be the hint. I have extracted the demonstartion object out of a larger one, where I calculated the bitmap pattern out of an text array. I forgot to substitute this or the demo.

But I think, that it's a bug in AC:
name="Test"
frequenzX=1.5 : frequenzY=0.15
verschiebungX=1 : verschiebungY=0.1
winkel=0
skalierungX=1 : skalierungY=1

DEFINE SYMBOL_FILL name 1,1,1,1,1,1,1,1,
  frequenzX, frequenzY, verschiebungX, verschiebungY,
  winkel, skalierungX, skalierungY,
  macroname PARAMETERS a=1.1, b=1.1, h=hoch
works.

name="Test"
frequenzX=1.5 : frequenzY=0.15
verschiebungX=1 : verschiebungY=0.1
winkel=0
skalierungX=1 : skalierungY=1
put 1,1,1,1,1,1,1,1

DEFINE SYMBOL_FILL name get(8),
  frequenzX, frequenzY, verschiebungX, verschiebungY,
  winkel, skalierungX, skalierungY,
  macroname PARAMETERS a=1.1, b=1.1, h=hoch
stops by reorting an error.

Thanks again.
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
... und im Übrigen bin ich der Meinung, dass Trockenbauwände einschichtig zu modellieren sind.

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!