We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
To install SAM from .exe just download and run the latest installer otherwise rebuild using VS SAM
our Grasshopper\SAM.Core.Grasshopper\SAM.Core.Grasshopper.csproj does include specific post build event:
Grasshopper\SAM.Core.Grasshopper\SAM.Core.Grasshopper.csproj
copy "$(TargetPath)" "$(TargetDir)\$(ProjectName).gha"
set SAM_DIR=$(APPDATA)\SAM\ if not exist "%SAM_DIR%" mkdir "%SAM_DIR%"
set SAM_DIR=$(APPDATA)\SAM\
if not exist "%SAM_DIR%" mkdir "%SAM_DIR%"
copy "$(TargetDir)*.dll" "%SAM_DIR%" copy "%SAM_DIR%\$(ProjectName).dll" "%SAM_DIR%\$(ProjectName).gha"
copy "$(TargetDir)*.dll" "%SAM_DIR%"
copy "%SAM_DIR%\$(ProjectName).dll" "%SAM_DIR%\$(ProjectName).gha"
echo %SAM_DIR% >> "$(APPDATA)\Grasshopper\Libraries\SAM.ghlink"
xcopy "$(SolutionDir)\files\resources" "$(APPDATA)\SAM\resources" /Y/I/E/S xcopy "$(SolutionDir)\files\resources" "$(USERPROFILE)\Documents\SAM\resources" /Y/D/I/E/S
xcopy "$(SolutionDir)\files\resources" "$(APPDATA)\SAM\resources" /Y/I/E/S
xcopy "$(SolutionDir)\files\resources" "$(USERPROFILE)\Documents\SAM\resources" /Y/D/I/E/S
if Exist "$(SolutionDir)\files\Grasshopper\UserObjects" ( xcopy "$(SolutionDir)\files\Grasshopper\UserObjects" "$(APPDATA)\Grasshopper\UserObjects\SAM" /Y/I/E/S )
if Exist "$(SolutionDir)\files\Grasshopper\UserObjects" (
xcopy "$(SolutionDir)\files\Grasshopper\UserObjects" "$(APPDATA)\Grasshopper\UserObjects\SAM" /Y/I/E/S
)
::erase "%SAM_DIR%$(ProjectName).dll" ::erase "$(TargetPath)"
::erase "%SAM_DIR%$(ProjectName).dll"
::erase "$(TargetPath)"