EWOW on CamelCase node

HI,

Im trying to convert a simple list of strings (179 pcs) to CamelCase.
I get the Eternal Wheel Of Wait.(1 hour and running)

Is there any other working node for this?

Marcel
17-9991_BPM_MATERIALS_BPM_NLRS_01_20171006.rvt (772 KB)
set material names.dyn (8.8 KB)

Hi,

Can anyone reproduce this and let me know what happens on your side please

Thank you.
Marcel

Hi @Marcel_Rijsmus

From which package is Camel.Case belongs to?

hI @Kulkul

The most obscurre packages i have is Bakery, which is pretty decent i guess apart from the unwanted dependencies… anyways Julien Benoits, Conrads, Dimitars and all other good stuff.
Edit…Its Zebra…

Marcel

2 Likes

Thnx John

So…

@Kulkul and @john_pierson

any alternatives you can think of?

@Marcel_Rijsmus Is this the right result for camel Case?

1 Like

@Kulkul

baffled here
I did use element. name? and it’s not a string?

Why is this a hyperlink? “element .name” ? btw?

Marcel

Since your using Zebra package and it is more than 1 year old i just ran your script in Dynamo 0.9.1 it took less than 40 seconds to complete all. Here is the excel File for all the Camel CasesForMarcel.xlsx (9.5 KB)

@Kulkul

Many thanks.
I will get rid of Zebra it and wait for an update.

The excel trick btw … can you explain so that others can learn from this?
Might not be Dynamo, but still

Marcel

I just wrote the values using Excel.write node for you.

@Kulkul

ok sorry, i dont have excel on this computer, so i couldn’t check

Good job!!

Marcel

You can click on this link https://docs.google.com/spreadsheets/d/1KG4v137JvLepubega_w1HsIvF9O42DiB4o8jbvJmtT8/edit?usp=drivesdk to view you don’t need excel.

@Kulkul
for the sake of others…

ok, so i checked with office365, this is just a list of the new values
can you explain how you did this, and get this done in Revit Materials
preferably in Dynamo For Dummies language :slight_smile: taking into account working in a workshared file aswell.

many thanks,
All of us

I took your dynamo file and ran in Dynamo 0.9.1 and it took 40 seconds to complete. I wrote the values in excel for you to read and set the material names using Element.SetName node. Does that make sense!

@Kulkul

Sure it does, but is it’s not just helping only me, and im thankfull, but others reading this too, which is the forum’s primary directive.
So please elaborate

japanese bow
Marcel

It seems that Kulkul did not do anything special here Marcel, he just ran your dynamo file in an older version of Dynamo and that made it work.

1 Like

CamelCase can be created with native nodes by slicing at " ", getting the character at index 0, converting it to upper case, and combining it back together part by part.

Sounds harder than it is. :wink:

2 Likes

you could do all that or use half a line of python code:

Revit_2017-10-07_13-21-40

5 Likes