Andrey-Bushman / Revit2017AddInTemplateSet

This is the set of Visual Studio 2015 templates for Revit 2017 add-ins creating.
33 stars 14 forks source link

Windows User Account Folder Name with Space Problem #7

Open Stevenlimo opened 7 years ago

Stevenlimo commented 7 years ago

Hi Andy, It is my first time installing the template. When I replace "Bushman" with my Windows user folder name "Steven Limo", it causes problem due to the space inbetween.

I can create a new user account with an account name without space, that solves the problem, but also means I will need to install all the software in that new user account. So without going through all that, can you guide me how to solve my "Steven Limo" space problem so it works within the vs codes.

Many Thanks Steven

Andrey-Bushman commented 7 years ago

Hi Steven,

Where do you change it (file, code row)? I will look it on github (I haven't Revit right now).

Andrey

2017-08-07 11:38 GMT+03:00 Stevenlimo notifications@github.com:

Hi Andy, It is my first time installing the template. When I replace "Bushman" with my Windows user folder name "Steven Limo", it causes problem due to the space inbetween.

I can create a new user account with an account name without space, that solves the problem, but also means I will need to install all the software in that new user account. So without going through all that, can you guide me how to solve my "Steven Limo" space problem so it works within the vs codes.

Many Thanks Steven

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Andrey-Bushman/Revit2017AddInTemplateSet/issues/7, or mute the thread https://github.com/notifications/unsubscribe-auth/AOI1ZWgM0Vir3YLoOL0Ob1LaItM0trBXks5sVs0SgaJpZM4OvJXn .

Stevenlimo commented 7 years ago

Hi Andy, I followed your first video on how to install it. When I try to change the following values from the CustomParameters.xml:

I started to realise that my Windows User Folder Name has become a problem. I have no knowledge of C# programming. My User Folder Name is "Steven Limo". After I replaced all the "Bushman" with "Steven Limo", then I launched the Configurator. But the space in the "Steven Limo" had caused problem in the C# code.

My question now simply becomes how the codes recognise the "Steven Limo" as one word instead of two words?

Sorry again as if I am not able to explained it clearly due to the lack of programming languages.

Many Thanks Steve

Stevenlimo commented 7 years ago

The values I referred are: ClientId Value='BUSHMAN' CompanyName Value='Bushman' RootNamespace Value='Bushman'

In my case, I put 'Steven Limo' there and the codes don't work, as the the space inbetween has caused the problem.

Andrey-Bushman commented 7 years ago

You can use the StevenLimo text. It is not required that it are to be exactly like your GitHub login. This template is for .Net-programmers.

Andrey-Bushman commented 7 years ago

That video is old. The internal structure of templates was changed since.

Stevenlimo commented 7 years ago

Thank you it works. Sorry about my previous questions, which are quite confusing. And thank you for helping me to get a glimpse of Revit API without me understanding coding. Appreciated.