←  Technical Questions

nanoCAD forum

»

NanoCAD CONFIGURATION

Olga87's Photo Olga87 05 Mar 2024

Hello Dear NanoCAD specialists!

Please tell me how to determine the profile configuration through the Windows registry ((getvar 'CCONFIGURATION): "", "SPDS" or "Mech")?

Thank you in advance!
Quote

Artemio's Photo Artemio 05 Mar 2024

Hello Olga,
maybe on this kinda question you'll get answer in developers club a little bit easier: nanocad.developer.com
Quote

Dsw's Photo Dsw 07 Mar 2024

@Artemio you mean https://developer.nanocad.com ?
Quote

Artemio's Photo Artemio 07 Mar 2024

Exactly.
Quote

Artemio's Photo Artemio 13 Mar 2024

Please, note, that you can get Mech, or SPDS configuration in Mech or SPDS (Construction), but not in pure Platform
Quote

Разыграев Андрей's Photo Разыграев Андрей 19 Mar 2024

View PostOlga87, on 05 March 2024 - 06:32 AM, said:

Hello Dear NanoCAD specialists!

Please tell me how to determine the profile configuration through the Windows registry ((getvar 'CCONFIGURATION): "", "SPDS" or "Mech")?

Thank you in advance!
maybe this will help vba
	Set objApp = GetObject(, "nanoCAD.Application")
	cfg = objApp.CurUserAppData
	pref = objApp.Preferences.Profiles.ActiveProfile
	allUser = objApp.AllUsersAppData
	fulName = objApp.FullName
	Path = objApp.Path
Quote