Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

DEFINE SYMBOL_FILL

Frank Beister
Moderator
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
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
AC27 USA • iMac 27" 4.0GHz Quad-core i7 OSX11 | 24 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
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