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

Creating gsm library parts with custom profile

Anonymous
Not applicable
Is anyone able to advise if you can use the CUSTOM PROFILE tool to create library objects with that do NOT have script errors when you check them.

I have spent HOURS trying to get this to work and even the examples provided in the ArchiCAD11 guides produce script errors when checking.

Any feed back would be useful.

Richard Hewitt
ArchiCAD 11 (frustrated new user)
Windows XP
28 REPLIES 28
Anonymous
Not applicable
Reply to Peter
not sure how to find line 88 but scrolled down till I hit SPRISM.
(In this instance the script errors are materials not found in lines 57 94 177 242 279 335 372 418)

below is some of the script:-

sprism_{2} "12 | Fabric", "12 | Fabric", "DEFAULT",
11, 0'-0.0000", 0'-0.0000", 3'-3.3701", 0'-0.0000", -2'-8.0000", 0,
0'-0.0000", 0'-0.0000", 3'-3.3701", 0'-0.0000", 0'-0.0000", 0,
0'-1.0000", 0'-0.0000", 15, ind(material,"12 | Fabric"),
0'-2.0000", 0'-0.0000", 15, ind(material,"12 | Fabric"),
0'-2.0000", 0'-11.0000", 15, ind(material,"12 | Fabric"),
0'-1.0000", 0'-11.0000", 15, ind(material,"12 | Fabric"),
0'-0.5000", 0'-10.8660", 79, ind(material,"12 | Fabric"),
0'-0.1340", 0'-10.5000", 79, ind(material,"12 | Fabric"),
0'-0.0000", 0'-10.0000", 15, ind(material,"12 | Fabric"),
0'-0.0000", 0'-1.0000", 15, ind(material,"12 | Fabric"),
0'-0.1340", 0'-0.5000", 79, ind(material,"12 | Fabric"),
0'-0.5000", 0'-0.1340", 79, ind(material,"12 | Fabric"),
0'-1.0000", 0'-0.0000", -1, ind(material,"12 | Fabric")
Anonymous
Not applicable
Reply to Olivier

Not sure how to post the object but assume send as an attachment?

thanks
Richard Hewitt
Anonymous
Not applicable
Hello Olivier,
I think you are right. Richard should upload his object
so we can take look at it. From what I understand,
there seem to be several problems with the script
as well as a problem with the SPRISM_{2} command.

Richard,
I think there is a problem with the code you posted.
Please upload the lib part so we can look at it.
This is done by compressing the lib part to .zip,
browsing for the .zip using the browse button near the
bottom of the post reply, select and open, then add attachment.
It is a goof idea to then do a Preview to make sure the
attachment was added.
Thanks,
Peter Devlin
Anonymous
Not applicable
Enclose zip file as suggested.

Much appreciate all the assistance
Richard Hewitt
Karl Ottenstein
Moderator
Richard,

Thanks - I'm sure Peter and Olivier will take a look. Hope to if I'm not called into a meeting.

Are you on the most recent hotfix of AC 11 Richard?

Peter: are you really on AC 10 as your signature says? If so, then many of the things you may experience with autoscripting may have been fixed since then, as much work has gone into profiled elements since then.

The version and build number is essential for all posts. I don't know how many people I've helped who said they were on "11" and turned out to be build 970, the initial buggy version, for example. (Same story with every version.)

Cheers,
Karl
AC 28 USA and earlier   •   macOS Sequoia 15.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
One of the forum moderators
Karl Ottenstein
Moderator
Maybe you uploaded the wrong object? The only thing in the 3D script (after the stuff that doesn't matter) is:
add     44'-0.3834", 29'-6.7669", 0'-0.0000"
rotz             270
call    "lounge chair 38x43",
    PARAMETERS A = 3'-2.0000", B = 3'-7.0000", ZZYZX = 2'-5.0000",
        AC_show2DHotspotsIn3D =      1
Karl
AC 28 USA and earlier   •   macOS Sequoia 15.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
One of the forum moderators
Anonymous
Not applicable
Karl

the gsm object I sent was the complete sofa as built over the weekend. I can use it but the script does not work when checked -

my ArchiCAD version is 970 USA full
operating on Windows XP2

I do have ArchiCAD12 original issue CD and manual etc which I have not loaded yet. I purchased AC11 in June last year with a 3 year (subscription) which included all new updates. Please advise if you think I should load and use AC12.
Karl Ottenstein
Moderator
richard wrote:
my ArchiCAD version is 970 USA full
Hi Richard,

If you are running build 970, then you have not installed any of the updates to ArchiCAD 11. Or else you're checking your version from the CD, rather than going to Help > About. Go to Help > Check for Updates to bring your installation up to date.

I don't understand why when I unzip your sofa, there is no sofa there. (I used 11 so that I'd be on the same release as you. Got a message about conversion errors.) Maybe Olivier or Peter can see something more. Only thing I can see is that you built your sofa from another object, namely "lounge chair 38x43" and you need to post that one for us, too.

Cheers,
Karl
AC 28 USA and earlier   •   macOS Sequoia 15.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
One of the forum moderators
Anonymous
Not applicable
Hello Karl,
I am indeed on AC 10 but I have AC 12 demo version.
What I did was ask a few questions to determine if it might be a
particular auto-scripting problem that might have been carried
over from AC 10. This would be evident if the material parameters
were not written correctly.
Thanks,
Peter Devlin
Anonymous
Not applicable
Karl
You guys are persistent - thanks very much!

Am including what I think is the original gsm file that started this.

AC11 updating... you are on to something here.
Have downloaded hotfixes and installed up to 1040.

Hotfix 1086 will not install - and gives me an error and advises to look atthe log.txt file which is like asking me to read latin with a Chinese alphabet. Have tried downloading again with no luck so I am stuck at version 1040 USA FULL

Opened up AC11 (1040) - have tried to create similar object but no changes - the script still has errors.

I will try to get the ver AC12 installed tommorrow.

Thanks to all for help so far.
Richard Hewitt