<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Looks like a VS path setting to me in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Looks-like-a-VS-path-setting-to-me/m-p/380752#M831</link>
    <description>&lt;P&gt;And now, all is in working order.&lt;/P&gt;&lt;P&gt;Thanks again &lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/11677"&gt;@julienK&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;Sometimes doing it is easier than tinkering with it...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When users open a .bpn file [in 24, and now in 25], they get...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;an annoying notification at File &amp;gt; Open, at every selection, at every deselection, and at every zoom/pan while something is selected:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MudratDetector_1-1684361387347.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/38008i1F8B0E98DE91A25F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MudratDetector_1-1684361387347.png" alt="MudratDetector_1-1684361387347.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;their own personal entry into the log file:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MudratDetector_4-1684362011577.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/38011i2E7EDE82253674E7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MudratDetector_4-1684362011577.png" alt="MudratDetector_4-1684362011577.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And...&amp;nbsp; We get an email:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MudratDetector_6-1684362189860.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/38013i89FDFEEC16C6EECF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MudratDetector_6-1684362189860.png" alt="MudratDetector_6-1684362189860.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully, this gets the message across.&lt;/P&gt;&lt;P&gt;- chris&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 May 2023 22:27:36 GMT</pubDate>
    <dc:creator>MudratDetector</dc:creator>
    <dc:date>2023-05-17T22:27:36Z</dc:date>
    <item>
      <title>Looks like a VS path setting to me</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Looks-like-a-VS-path-setting-to-me/m-p/380230#M824</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Build started...
1&amp;gt;------ Build started: Project: JHP_AutoLoad, Configuration: Release x64 ------
1&amp;gt;Compiling the localized GRC file...
1&amp;gt;JHP_AutoLoad.grc
1&amp;gt;
1&amp;gt;
1&amp;gt;G:Build\x64\Release\\RO\JHP_AutoLoad.grc.rc2.i (29) : Extra character on line  (ResID: 32000)
1&amp;gt;
1&amp;gt;Write_Error: Extra character on line  (ResID: 32000)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In&amp;nbsp;1&amp;gt;G:Build\x64\Release\\RO\JHP_AutoLoad.grc.rc2.i (29) : Extra character on line (ResID: 32000)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The drive letter is correct, however the first backslash is missing between G: and Build.&lt;BR /&gt;There are two backslashes between Release and RO.&lt;BR /&gt;The full path is accurate except for a few folders upstream of Build.&lt;BR /&gt;&lt;STRONG&gt;G:&lt;/STRONG&gt;&lt;EM&gt;&amp;lt;&lt;/EM&gt;\&lt;EM&gt;&amp;gt;&amp;lt;folder&amp;gt;&amp;lt;&lt;/EM&gt;\&lt;EM&gt;&amp;gt;&amp;lt;folder&amp;gt;&amp;lt;&lt;/EM&gt;\&lt;EM&gt;&amp;gt;&amp;lt;projectname&amp;gt;&amp;lt;&lt;/EM&gt;\&lt;EM&gt;&amp;gt;&lt;/EM&gt;&lt;STRONG&gt;Build\x64\Release\RO&lt;/STRONG&gt;&lt;BR /&gt;is the real path I am looking for to avoid this error.&lt;BR /&gt;&lt;BR /&gt;I have looked all over Visual Studio and cannot seem to find where to correct this.&lt;BR /&gt;Is it even a VS issue?&lt;BR /&gt;Any idea what my options are?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks - chris&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 22:14:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Looks-like-a-VS-path-setting-to-me/m-p/380230#M824</guid>
      <dc:creator>MudratDetector</dc:creator>
      <dc:date>2023-05-12T22:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Looks like a VS path setting to me</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Looks-like-a-VS-path-setting-to-me/m-p/380233#M825</link>
      <description>&lt;P&gt;I think given the rest of that line is saying&amp;nbsp;&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-markup"&gt;&lt;CODE&gt;Extra character on line  (ResID: 32000)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;the file is being loaded fine regardless of the double slash and there is just an error on that line in the grc file for resid 32000 that you need to rectify.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 23:19:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Looks-like-a-VS-path-setting-to-me/m-p/380233#M825</guid>
      <dc:creator>scottjm</dc:creator>
      <dc:date>2023-05-12T23:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Looks like a VS path setting to me</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Looks-like-a-VS-path-setting-to-me/m-p/380240#M826</link>
      <description>&lt;P&gt;the .grc.rc2.i is a file created at compile time. the 'extra character on line' error is misleading, there is probably nothing wrong with your grc file. It probably just means that the compiler can't find one of the resources you created.&lt;/P&gt;
&lt;P&gt;check your resourceIds.hpp and addonMain.cpp and make sure that the ids you created for your dialog are correctly placed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can't help much without the code, if you can't fix it post these 2 files and the grc.&lt;/P&gt;</description>
      <pubDate>Sat, 13 May 2023 06:31:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Looks-like-a-VS-path-setting-to-me/m-p/380240#M826</guid>
      <dc:creator>julienK</dc:creator>
      <dc:date>2023-05-13T06:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Looks like a VS path setting to me</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Looks-like-a-VS-path-setting-to-me/m-p/380415#M827</link>
      <description>&lt;P&gt;My bad for the lack of information.&amp;nbsp; Friday, when I posted, I was trying to get this out there and leave for the day.&lt;/P&gt;&lt;P&gt;More info:&lt;/P&gt;&lt;P&gt;- - VS 2019, AC25&lt;/P&gt;&lt;P&gt;- - I have a working version of this from VS 2017, AC24&lt;/P&gt;&lt;P&gt;- -&amp;nbsp;I have verified the .svg file is in place and content from individual files in the working 24 project matches content in this 25 project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code for the VS2019/AC25 project follows...&lt;/P&gt;&lt;P&gt;JHP_AutoLoadResIDs.hpp:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;#ifndef JHP_AUTOLOAD_RESIDS_HPP
#define JHP_AUTOLOAD_RESIDS_HPP


// !max value is (32767)
#define JHP_AUTOLOAD_ABOUT_STRINGSID		32000
#define JHP_AUTOLOAD_MENU_STRINGSID		32500
#define JHP_AUTOLOAD_BPNID			32501

#endif // JHP_AUTOLOAD_RESIDS_HPP&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;JHP_AutoLoad.cpp:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;// ---------------------------------- Includes ---------------------------------

#include		"APIEnvir.h"
#include		"ACAPinc.h"	// also includes APIdefs.h
#include		"JHP_AutoLoad.hpp"
#include		"JHP_AutoLoadResIDs.hpp"
#include		"RS.hpp"
#include		"..\..\functions_25.hpp"

#include		&amp;lt;shellapi.h&amp;gt;
#include		&amp;lt;string&amp;gt;
#include		&amp;lt;fstream&amp;gt;

//using namespace std;

// ---------------------------------- Types ------------------------------------


// ---------------------------------- Variables --------------------------------

static void ShowDialog()
{
	JHP_AutoLoad_Dialog dialog;
	dialog.Invoke();
}

int NoBpn()
{
	ShowDialog();
	return 0;
}

static bool JHP_DoNotOpenBPN()
{
	////
	//// Check "FILENAME" for .bpn extension.
	////
	GS::UniString strFileExtension;
	strFileExtension = GetProjectInfo("FILENAME");
	if (strFileExtension.EndsWith(".bpn"))
		NoBpn();

	return false;
}

static GSErrCode __ACENV_CALL JHP_EventHandler(API_NotifyEventID notifID, Int32 /*param*/)
{
	GSErrCode err = NoError;

	switch (notifID) {
	case APINotify_Open:
	{
		// Loads at model OPEN.
		GS::UniString strFileName;
		strFileName = (GetProjectInfo("FILENAME"));

		API_ProjectInfo projectInfo;
		GSErrCode err = ACAPI_Environment(APIEnv_ProjectID, &amp;amp;projectInfo, NULL);
		if (err != NoError)
		{
			ACAPI_WriteReport("\n\nJHP ERROR", false);
			return 0;
		}

		if (projectInfo.untitled == TRUE)
		{
			ACAPI_WriteReport("\n\nProject file HAS NOT been saved yet", false);
		}
		else
		{
			GS::UniString strFileExtension;
			strFileExtension = GetProjectInfo("FILENAME");
			if (strFileExtension.EndsWith(".bpn")) {
				// Project file HAS been saved
				std::ofstream objLogFile;
				objLogFile.open("K:\\CGilmer\\ArchiCAD_AddOn\\JHP_DoNotOpenBPN.txt", std::ios::out | std::ios::app);

				if (objLogFile) {
					GS::UniString strTime;
					strTime = TimeStamp(2);
					char strUser[1024];
					DWORD intUserLen = 1024;
					GetUserNameA(strUser, &amp;amp;intUserLen);
					GS::UniString strReportData;
					strReportData = (strTime + GS::UniString("   ") + GS::UniString(strUser) + GS::UniString("\n"));
					objLogFile &amp;lt;&amp;lt; strReportData.ToCStr();
					GS::UniString strFileNameData;
					strFileNameData = "                    " + strFileName + "\n\n";
					objLogFile &amp;lt;&amp;lt; strFileNameData.ToCStr();
					objLogFile.close();
				}
								std::system("powershell.exe -ExecutionPolicy Bypass -File G:\\dev\\v24\\JHP_AutoLoad\\SendEmail_PS.ps1");
				
				JHP_DoNotOpenBPN();
			}
		}
		break;
	}

	//		case APINotify_Close:
	//		{
	//			break;
	//		}
	//		case APINotify_Quit:
	//		{
	//			break;
	//		}
	//
	default: break;
	}
	return err;
}
// -----------------------------------------------------------------------------

// ------------------------------ Class definition -----------------------------

JHP_AutoLoad_Dialog::JHP_AutoLoad_Dialog() :
	DG::ModalDialog(ACAPI_GetOwnResModule(), 32500, ACAPI_GetOwnResModule()),
	JHP_AUTOLOAD_BPN_Icon(GetReference(), JHP_AUTOLOAD_BPNID),
	OK_Button(GetReference(), OkID)
{
	AttachToAllItems(*this);
}

JHP_AutoLoad_Dialog::~JHP_AutoLoad_Dialog()
{
}

void JHP_AutoLoad_Dialog::ButtonClicked(const DG::ButtonClickEvent&amp;amp; ev)
{
	if (ev.GetSource() == &amp;amp;OK_Button)
	{
		PostCloseRequest(Accept);
	}
}

static GSErrCode __ACENV_CALL	SelectionChangeHandler(const API_Neig* selElemNeig)
{
	if (selElemNeig-&amp;gt;neigID != APINeig_None) {
		char msgStr[256];
		sprintf(msgStr, "Last selected element: NeigID %d; guid: %s, inIndex: %d",
			selElemNeig-&amp;gt;neigID, (const char*)APIGuid2GSGuid(selElemNeig-&amp;gt;guid).ToUniString().ToCStr(), selElemNeig-&amp;gt;inIndex);
		ACAPI_WriteReport(msgStr, false);
	}
	else {
		ACAPI_WriteReport("All elements deselected", false);
	}

	JHP_DoNotOpenBPN();
	return NoError;
}


// ------------------------------ Class definition -----------------------------

// =============================================================================
//
// Required functions
//
// =============================================================================


GSErrCode	__ACENV_CALL	MenuCommandHandler(const API_MenuParams* params)
{
	return ACAPI_CallUndoableCommand("JHP_AutoLoad Menu Command", [&amp;amp;]() -&amp;gt; GSErrCode {

		switch (params-&amp;gt;menuItemRef.menuResID)
		{
		case JHP_AUTOLOAD_MENU_STRINGSID: {

			//Execute Menu option code:

			/* switch (params-&amp;gt;menuItemRef.itemIndex)
			{
				//Execute Menu suboptions
			} */
		}
		}

		return NoError;
	});
}
// MenuCommandHandler


//------------------------------------------------------
// Dependency definitions
//------------------------------------------------------
API_AddonType	__ACENV_CALL	CheckEnvironment(API_EnvirParams* envir)
{
	RSGetIndString(&amp;amp;envir-&amp;gt;addOnInfo.name, JHP_AUTOLOAD_ABOUT_STRINGSID, 1, ACAPI_GetOwnResModule());
	RSGetIndString(&amp;amp;envir-&amp;gt;addOnInfo.description, JHP_AUTOLOAD_ABOUT_STRINGSID, 2, ACAPI_GetOwnResModule());

	//return APIAddon_Normal; 
	return APIAddon_Preload; // Change to APIAddon_Preload to allow listening for events!
}
// CheckEnvironment


//------------------------------------------------------
// Interface definitions
//------------------------------------------------------
GSErrCode	__ACENV_CALL	RegisterInterface(void)
{
	GSErrCode err = NoError;
	err = ACAPI_Register_Menu(JHP_AUTOLOAD_MENU_STRINGSID, 0, MenuCode_UserDef, MenuFlag_Default);
	err = ACAPI_Register_SupportedService('JHPS', 1);

	return NoError;
}
// RegisterInterface


// -----------------------------------------------------------------------------
// Initialize
//		called after the Add-On has been loaded into memory
// -----------------------------------------------------------------------------

GSErrCode __ACENV_CALL	Initialize(void)
{
	//// look at send/receive data on teamwork projects

	///////////
	//
	// Autoload stuff goes here.
	//
	///////////

	GSErrCode err = ACAPI_Install_MenuHandler(JHP_AUTOLOAD_MENU_STRINGSID, MenuCommandHandler);
	err = ACAPI_Notify_CatchProjectEvent(APINotify_Open, JHP_EventHandler);
	err = ACAPI_Notify_CatchSelectionChange(SelectionChangeHandler);

	///////////
	//
	// End of Autoload.
	//
	///////////

	return err;
}
// Initialize


// -----------------------------------------------------------------------------
// FreeData
//		called when the Add-On is going to be unloaded
// -----------------------------------------------------------------------------

GSErrCode __ACENV_CALL	FreeData(void)
{
	return NoError;
}
// FreeData
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;JHP_AutoLoad.hpp:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;#pragma once

#ifndef JHP_AUTOLOAD_DIALOG_HPP
#define JHP_AUTOLOAD_DIALOG_HPP

#include	"DGModule.hpp"

class JHP_AutoLoad_Dialog : public DG::ModalDialog,
	public DG::CompoundItemObserver,
	public DG::ButtonItemObserver
{
protected:
	enum Controls {
		JHP_AUTOLOAD_BPNID = 1,
		OkID = 2
	};

	DG::IconItem JHP_AUTOLOAD_BPN_Icon;
	DG::Button OK_Button;
	virtual void ButtonClicked(const DG::ButtonClickEvent&amp;amp; ev) override;
public:
	JHP_AutoLoad_Dialog();
	~JHP_AutoLoad_Dialog();
};

#endif JHP_AUTOLOAD_DIALOG_HPP&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JHP_AutoLoad.grc:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;#include "JHP_AutoLoadResIDs.hpp"

'STR#' JHP_AUTOLOAD_ABOUT_STRINGSID "Add-on Name and Description" {
// /* [  1] */		"JHP_AutoLoad"
// /* [  2] */		"Do stuff automatically at ArchiCAD start OR File &amp;gt; New OR File &amp;gt; Open"
}


// /* Text appearing in the menu
//	-- same as the name of the folder without underscore(s) */

// 'STR#' JHP_AUTOLOAD_MENU_STRINGSID "Strings for the Menu" {
// /* [   ] */		"JHP_AutoLoad"
// /* [  1] */		"Do stuff automatically at ArchiCAD start OR File &amp;gt; New OR File &amp;gt; Open"
// }

/* Localizable dialog resource(s) with the accompanying help resource(s) */

'GDLG' 32500  Modal		   0	   0		  884		1050		"JHP:  ERROR - Do not open .bpn file" {
/* [  1] */ Icon			   0	  25		  884		  946		JHP_AUTOLOAD_BPNID
/* [  2] */ Button			407	991		    70		   43		LargePlain	"OK"
}

'DLGH'  32500  DLG_32500_JHP_AUTOLOAD {
1		"JHP_AUTOLOAD_BPN"	Icon_0
2		"JHP_OK"						Button_0
}&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 15 May 2023 16:59:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Looks-like-a-VS-path-setting-to-me/m-p/380415#M827</guid>
      <dc:creator>MudratDetector</dc:creator>
      <dc:date>2023-05-15T16:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Looks like a VS path setting to me</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Looks-like-a-VS-path-setting-to-me/m-p/380419#M828</link>
      <description>&lt;P&gt;My current error message has new information and is now a bit more revealing with "Output directory does not end with a trailing slash..."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Build started...
1&amp;gt;------ Build started: Project: JHP_AutoLoad, Configuration: Release x64 ------
1&amp;gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(499,5): warning MSB8004: Output Directory does not end with a trailing slash.  This build instance will add the slash as it is required to allow proper evaluation of the Output Directory.
1&amp;gt;Compiling the localized GRC file...
1&amp;gt;JHP_AutoLoad.grc
1&amp;gt;
1&amp;gt;
1&amp;gt;G:Build\x64\Release\\RO\JHP_AutoLoad.grc.rc2.i (29) : Extra character on line  (ResID: 32000)
1&amp;gt;
1&amp;gt;Write_Error: Extra character on line  (ResID: 32000)
1&amp;gt;Compiling the RC2 file...
1&amp;gt;Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
1&amp;gt;
1&amp;gt;Copyright (C) Microsoft Corporation.  All rights reserved.
1&amp;gt;
1&amp;gt;
1&amp;gt;RFIX.WIN\JHP_AutoLoad.rc2(11): fatal error RC1015: cannot open include file 'JHP_AutoLoad.grc.rc2'.
1&amp;gt;
1&amp;gt;C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: Custom build for 'RINT\JHP_AutoLoad.grc;RFIX.WIN\JHP_AutoLoad.rc2' exited with code 1.
1&amp;gt;Done building project "JHP_AutoLoad.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And, sure enough...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MudratDetector_0-1684173869502.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/37881i6DF904FC0A6A44E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MudratDetector_0-1684173869502.png" alt="MudratDetector_0-1684173869502.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But adding the trailing slash generates the same error [1&amp;gt;G:Build\x64\Release\\RO\JHP_AutoLoad.grc.rc2.i (29) : Extra character on line (ResID: 32000)]&lt;BR /&gt;without the pushback of the trailing slash problem.&amp;nbsp; Very counter-intuitive for me...&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 18:09:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Looks-like-a-VS-path-setting-to-me/m-p/380419#M828</guid>
      <dc:creator>MudratDetector</dc:creator>
      <dc:date>2023-05-15T18:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Looks like a VS path setting to me</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Looks-like-a-VS-path-setting-to-me/m-p/380484#M829</link>
      <description>&lt;P&gt;at first glance, on line 4 and 5 of your grc file&amp;nbsp; items 1 and 2 are commented. Any reason for that ?&lt;/P&gt;
&lt;P&gt;try removing the //&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 05:57:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Looks-like-a-VS-path-setting-to-me/m-p/380484#M829</guid>
      <dc:creator>julienK</dc:creator>
      <dc:date>2023-05-16T05:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Looks like a VS path setting to me</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Looks-like-a-VS-path-setting-to-me/m-p/380745#M830</link>
      <description>&lt;P&gt;This is intentional.&lt;/P&gt;&lt;P&gt;The generic purpose of this Add-On is to automatically do stuff at model open.&amp;nbsp; What I want to accomplish is over and done with before the user makes the first click in any and every model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Specifically, I am implementing this to discourage our users from opening the .bpn version of the project they are working on.&amp;nbsp; I am using&amp;nbsp;APINotify_Open to install my custom event handler that senses that a .bpn file has been opened.&amp;nbsp; &amp;nbsp;Then using ACAPI_Notify_CatchSelectionChange to monitor and trigger, making it &lt;EM&gt;&lt;STRONG&gt;VERY&lt;/STRONG&gt;&lt;/EM&gt; difficult to work on with a constantly appearing dialog notification that they are in the wrong file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This process does not need a selectable menu option.&amp;nbsp; When I uncomment, I get the undesirable menu selection.&amp;nbsp; Good eye, though...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MudratDetector_0-1684358116142.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/38007iAE81B801BEDD061A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MudratDetector_0-1684358116142.png" alt="MudratDetector_0-1684358116142.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Today, I have restarted this project from scratch instead of converting my working AC24 version for AC25.&amp;nbsp; So far, so good...&lt;/P&gt;&lt;P&gt;Thanks so much for your interest in my dilemma.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- chris&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 21:36:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Looks-like-a-VS-path-setting-to-me/m-p/380745#M830</guid>
      <dc:creator>MudratDetector</dc:creator>
      <dc:date>2023-05-17T21:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Looks like a VS path setting to me</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Looks-like-a-VS-path-setting-to-me/m-p/380752#M831</link>
      <description>&lt;P&gt;And now, all is in working order.&lt;/P&gt;&lt;P&gt;Thanks again &lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/11677"&gt;@julienK&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;Sometimes doing it is easier than tinkering with it...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When users open a .bpn file [in 24, and now in 25], they get...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;an annoying notification at File &amp;gt; Open, at every selection, at every deselection, and at every zoom/pan while something is selected:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MudratDetector_1-1684361387347.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/38008i1F8B0E98DE91A25F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MudratDetector_1-1684361387347.png" alt="MudratDetector_1-1684361387347.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;their own personal entry into the log file:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MudratDetector_4-1684362011577.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/38011i2E7EDE82253674E7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MudratDetector_4-1684362011577.png" alt="MudratDetector_4-1684362011577.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And...&amp;nbsp; We get an email:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MudratDetector_6-1684362189860.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/38013i89FDFEEC16C6EECF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MudratDetector_6-1684362189860.png" alt="MudratDetector_6-1684362189860.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully, this gets the message across.&lt;/P&gt;&lt;P&gt;- chris&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 22:27:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Looks-like-a-VS-path-setting-to-me/m-p/380752#M831</guid>
      <dc:creator>MudratDetector</dc:creator>
      <dc:date>2023-05-17T22:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Looks like a VS path setting to me</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Looks-like-a-VS-path-setting-to-me/m-p/380869#M832</link>
      <description>&lt;P&gt;That's a really awesome idea for an addon!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have junior staff accidently opening bpn's all the time, it drives me nuts, I would love to have something like this.&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 00:41:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Looks-like-a-VS-path-setting-to-me/m-p/380869#M832</guid>
      <dc:creator>scottjm</dc:creator>
      <dc:date>2023-05-19T00:41:00Z</dc:date>
    </item>
  </channel>
</rss>

