• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

path file rule

  • Thread starter Thread starter Esselle
  • Start date Start date

Esselle

Guest
good morning, I use the pc set by a colleague and to save the table files, it should take place the rescue in idw, dwg and pdf format, instead the rescue takes place only in idw and I get this error message.
Catturaforum.webpthe first problem is that the path d:\lavori..ecc etc does not exist and the fiel is on the other side, how do I go to search from ilogic the file in the right directory?

Then we'll see if the rule works. . .

a great early thanks.
 
Thanks for your intervention.

I did so:
Catturaforum2.webpbut the error message is always the same!

Where am I wrong?
 
But... error from as path d:\lavori while you have uploaded d:\dropbox\lavori
 
I didn't explain well.
d:\ jobs do not exist
d:\ dropbox exists

when I save the rule from the mistake I put in the first message.
 
maybe within the rule, the d:\ jobs that does not exist, try to open the rule and check
 
the file , if it has .txt or .vb extension, you can open it with the note lock of windows.
or, .. see photoilogic edit.webp
 
the error, as I said, remains even after setting as in the #3 message.

I put you here under the content of the "rule" file that is mentioned in the message (it is a txt file)
sub main()
dim drawingdoc as drawingdocument = trycast(thisdoc.document, drawingdocument)

for each sheetx as sheet in drawingdoc.sheets
if (sheetx.titleblock is nothing) then continue for
dim titleblockx as titleblock = sheetx.titleblock
dim scaletextbox as textbox = getscaletextbox(titleblockx.definition)
dim scalestring as string = string.empty
for each viewx as drawingview in sheetx.drawingviews
if (not string.isnullorempty(viewx.scalestring)) then
scalestring = viewx.scalestring
exit for
end if
next
titleblockx.setpromptresulttext(scaletextbox, scalestring)
next
end sub

function getscaletextbox(byval titledef as titleblockdefinition) as textbox
for each deftext as textbox in titledef.sketch.textboxes
if (deftext.text.indexof("<scale>", stringcomparison.ordinalignorecase) >= 0) then
return deftext
end if
next
throw new argumentexception("no prompted entry string containing <scale> was found in the title block definition: " & titledef.name)
end function</scale></scale>
I do not see instructions to point to a directory.

Sorry about my incompetence. . .
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top