Hello,
I have a toolpalette.bundle which inserts custom blocks from a drawing in the Support path of the .bundle. Although the palette and icons display correctly the blocks are not found, as per error below:
Source drawing ".\Support\Steel Sections.dwg" for block "Circular Hollow Section" not found.
What do I need to add to the PackageContents.xml below to enale the blocks to be found in the dwg?Code - XML: [Select]
<!-- ... --> <Components> <RuntimeRequirements OS="Win64|Win32" Platform="AutoCAD*" SeriesMin="R19.1" SeriesMax="R19.1" ToolPalettePath="./Contents/"/> </Components> </ApplicationPackage>
Any guidance would be much appreciated,
Kind regards, Robbo.
Again BB,
Many thanks for your reply. Still cannot get the blocks to insert.
I have zipped attached the .bundle if you wish to review.
Kindest regards, Robbo.
Apologies BB. Thank you for your efforts.
.bundle zip file reattached with full contents below:
Many thanks, Robbo.
It appears that the ToolPalettePath XmlAttribute also accepts semicolon separated strings (for multiple paths); perhaps adding SupportPath XmlAttribute is not needed. *not sure*
Source drawing "./Contents/Suppport/Steel Sections.dwg" for block "Steel Channel" not found.
Thanks for your help BB.
Still no luck. Steel Sections.dwg not found.
Found a workaround. Renaming the path in the atc file from ./Contents/Support/Steel Sections.dwg to %UserProfileFolder%\AppData\Roaming\Autodesk\ApplicationPlugins\IRR-SteelSectionsToolPalette.bundle\Contents\Support\Steel Sections.dwg inserts the blocks.