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

read-only file

  • Thread starter Thread starter Sampa
  • Start date Start date

Sampa

Guest
Good morning to all,
I did a quick search on the forum, but I did not find answers to my problem.
question: is there a way of transforming read-only files (not the library, just the state of .ipt files, .idw and .iam is read-only) into editable files?
I need to modify the encoding that came from an external study, but I can't change the i-properties of the files.

thanks to anyone who wants to repay
 
instead of posting only the screen of the item "read sun" screenshotta the whole window that could come back useful to someone else
 
prova la seguente regola ilogic, la regola dovrebbe cambiare gli attributi del file, in questo caso distillare la proprietà "readonly".
è innanzitutto necessario aprire un file di inventor e quindi cercare il percorso dei file di sola lettura.
spero che questo aiuti con il tuo problema. arrivederci


dim ofiledlg as inventor.filedialog = nothing
inventorvb.application.createfiledialog(ofiledlg)
ofiledlg.filter = "inventor files (*.iam;*.ipt)|*.iam;*.ipt|all files (*.*)|*.*"
ofiledlg.dialogtitle = "delete itriggers from rule in file"
ofiledlg.initialdirectory = thisdoc.path
ofiledlg.multiselectenabled =true
ofiledlg.filterindex = 1
ofiledlg.cancelerror = true
on error resume next
ofiledlg.showopen()
if err.number <> 0 then
messagebox.show("file not chosen.", "dialog cancellation")
elseif ofiledlg.filename <> "" then
for each wrd in ofiledlg.filename.split("|")
system.io.file.setattributes(wrd, io.fileattributes.normal)

'system.io.file.setattributes(wrd, system.io.file.getattributes(wrd).readonly)
'system.io.file.setattributes(wrd, system.io.file.getattributes(wrd).hidden)
next
end if
 

Forum statistics

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

Members online

No members online now.
Back
Top