AutoCAD .NET Addin Wizard 2015 (AcadNetAddinWizardPro 2.x)
Please choose a seat number, input the name, provide a valid email, and make payment accordingly. After we receive your payment and information, an authorization code will be generated and sent to the email address as soon as possible.
|
Please press the left button to download and input information on right to buy.
Using the EntityJigger with BlockReference there is an error on the line:
jigger = new EntityJigger1(new BlockReference());
The error is:
Constructor 'BlockReference' has 2 arguments but is invoked with 0 arguments.
The constructor is looking for Point3d position and ObjectId blockTableRecord.
Posted by: Mohnston | 04/01/2015 at 04:34 PM
Mohnston, we saw the problem. Please replace the line with the following and see:
ObjectId blkId = ObjectId.Null;
Database db = MgdAcApplication.DocumentManager.MdiActiveDocument.Database;
using (Transaction tr = db.TransactionManager.StartTransaction())
{
BlockTable bt = tr.GetObject(db.BlockTableId, OpenMode.ForRead) as BlockTable;
BlockTableRecord btr = tr.GetObject(bt["SampleBlock"], OpenMode.ForRead) as BlockTableRecord;
blkId = btr.ObjectId;
tr.Commit();
}
jigger = new EntityJigger1(new BlockReference(Point3d.Origin, blkId));
Posted by: Spiderinnet1 | 04/01/2015 at 07:53 PM
The Coder Toolbar is missing in my Visual Studio 2013 & 2013. but is there in my VS2010.
So I need to do something to get them to show in VS2012&13?
Posted by: CanopenR | 08/03/2015 at 04:49 PM
CanopenR, please reset the Coder toolbar this way and see:
Devenv.exe /resetaddin AcadNetAddinCoderPro.Connect
If it doesn't work, please try uninstall and reinstall. If the issue is still there, there might be some side by side issue with other tools either from us or from others; then please provide other addin info for trouble shooting.
Also please chech if the toolbar can be found from the Customize menu and the addin tool being loaded from the Addin Manager UI.
Posted by: Spiderinnet1 | 08/04/2015 at 12:25 AM
That did not work. Still the same thing. I did have the non pro version installed. it only worked for 2008 & 2010. I then uninstalled and installed pro for 2013.
I only have this and Visual Assist installed.
I did discover the commands are there. just not the Toolbar for them. I can make a toolbar manually add them. but the resetaddin clears it out.
Any ideas?
Posted by: CanopenR | 08/04/2015 at 11:33 AM
CanopenR, it seems a toolbar residue/cleanup issue. Please try the latest build #1.0.1.0 that was just posted. It should address the problem. Welcome any further feedback about the fix and how the latest build works.
Posted by: Spiderinnet1 | 08/04/2015 at 11:16 PM