Well,
It doesn't work on any 2008 machine here, but does work with 2009. Were you using 2009 as well? I'm not happy with the performance of 2009 but it looks like I'm going to have to roll it out to at lease a couple of users....
Drat!
If I comment out the MSG BOX statements and run test.lsp I get:
ssTitleBlock has 0 entities in it.
ssTitleBlock has 0 entities in it.
curLayoutName was 100.01
ssTitleBlock1 has 0 entities in it.
curLayoutName was 100.01
In the Immediate pane.
Else If I don't comment out, I just get the...
You bet.
Posted is
www.pgsmillwork.com/post/test.zip
I posted a drawing which has two tabs (its a mess because I'm in the process of changing the title block and some other things), my database (access), my "real" lisp routine and one called test which I've been using to quickly pass limited...
Ok,
I inserted your error trapping and still got the same msgbox result which would indicate that no blocks were detected.
I removed 410, curLayoutName, _
from
ElseIf UserI4 = "2" Then
BuildFilter intData1, varData1, -4, "<and", _
0, "INSERT", _
2...
I've posted a zip file to:
www.pgsmillwork.com/post/release.zip Which contains the dvb file and lisp file which calls it up
Don't see how to directly attach a file.
Thanks!http://www.pgsmillwork.com/post/release.zip
Todd,
Tried it with the same result. If I just remove
410, curLayoutName, _
It runs perfectly.
I also tried using UserS1 instead of curLayoutName just in case it wasn't getting the current tab for some reason. That variable represents the current tab passed from the lisp routine I'm using to...
Thanks again! That's what I tried before your reply.
There must be more to it than that though. When I insert 410, curLayoutName, _ The routine triggers
MsgBox "The PGS Drawing Information Block wasn't found."
I also tried replacing
curLayoutName = ThisDrawing.ActiveLayout.Name
with...
Thanks,
I'm currently collecting attributes from only specific blocks from tab:
Set AcadDoc = ThisDrawing ' Current drawing.
BuildFilter intData, varData, -4, "<and", _
0, "INSERT", _
2, "DWG INFON", _
-4, "and>"
How would I add the specific block name...
Im using the vbdPowerSet in a dvb project which collects user input and attribute values and inputs it into a database, then sends an email to certain parties (still finishing that part up). I'm trying to figure out how to modify this to only collect attribute values from the Current Tab. The...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.