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

macro for "posticipa upgrades" command at the table

  • Thread starter Thread starter Ilario
  • Start date Start date

Ilario

Guest
hi to all, once, when I used 32bit, I used the comfortable iassembly tools (the external plug-in, not the standard inventor) that gave me a series of different commands according to the working environment (the one with the yellow and grey icon representing a hammer and an English key to understand us). this plug-in had a very useful command in the table environment; when I clicked it opened a window where I could put a tick on a voice that I now don't remember the name, but this check turned on or off the option that otherwise I should turn on or off going in document settings -> tab drawing -> item "postic update". now at 64bit this plug in does not work anymore....

I wondered if some macro handles or ivb could create a macro that makes me this function, i.e. I just need a button that opens a window (maybe with small description) and a check to put or remove and under the classic buttons ok, cancel, apply and go to act on that function.

I wonder too much?

thanks to all;)
 
always about constraints, it will also affect you that during the positioning of constraints, you have to move a component to go look for a face that is stuck somewhere else; only if you touch the component, it is selected for the constraint, face or edge you touched.Therefore exists the possibility of "suspend" the constraint to be able to move the piece, and then continue the command left halfway? I know, maybe holding down the ctrl or something. .
 
I don't know if I understand what you mean, but when you want to place the first constraint, select the component to move by clicking and dragging the component (he will obviously select a "wrong" face and activate in the ties window no. 1) now return to the bound selection window and re-selections the bond no.1.

Are you doing this already?

But what does macro do? Maybe you got the wrong thread? :
 
always about constraints, it will also affect you that during the positioning of constraints, you have to move a component to go look for a face that is stuck somewhere else; only if you touch the component, it is selected for the constraint, face or edge you touched.Therefore exists the possibility of "suspend" the constraint to be able to move the piece, and then continue the command left halfway? I know, maybe holding down the ctrl or something. .
I usually momentarily isolate the 2 components and bind them....
 
I don't know if I understand what you mean, but when you want to place the first constraint, select the component to move by clicking and dragging the component (he will obviously select a "wrong" face and activate in the ties window no. 1) now return to the bound selection window and re-selections the bond no.1.

Are you doing this already?

But what does macro do? Maybe you got the wrong thread? :
You're right. I better open another 3ad.
 
returning to the macro, confidently:) I think I can develop it on the weekend and have already something at the beginning of the next week... I hope:)
 
always about constraints, it will also affect you that during the positioning of constraints, you have to move a component...
I, if it's hidden, move it first.
You take a moment and you have no ambiguity of selection.
 
Last edited:
unfortunately I can't do it, not having ever programmed even a language is very complicated. the thing is not impossible, indeed it is a baggianata because tutorial around with some vb thing I understand, but it takes someone with programming experience otherwise it will take me a month just to be drafted... Maybe in a while I'll come back on how I always do it, but for now I surrender.. .

If you want to try in vb I place you a link where maybe you can document a little.

- introduction to programming in general: link- Basic visual guide: link
 
tools > document settings > drawing board.
there is a voice: postpone updates.
If that's what you're looking for, just put it in the template.
Bye.
 
Of course, I know where it is:)

It is that once there was a plug in that with 2 clicks you activated it or disabled it and with a discreet window that while it was open you could also work on the design and then activate it again without having to go on the path. Now you have to go right there with 20 clicks, keep the window open if you want to check any changes, and once applied you have to close it, do what you have to do, then go back there... you know, I did better before.

setting it in the template doesn't need anything, or at least it doesn't have to do with what I say.
 
Hi, I saw your request and I did this.. .
He's a little spartan, but he should do what you're asking, copy it to a project form. applications in the vba editor, then create the icon on the bar. an active cìlick, one disables. I don't have 64 bits but I think it works. I hope it's okay. does not control errors but if you activate it in a drawing should not be there. . .

Have a good day!



public sub selayupdate()
'examines the active design
dim odrw as drawingdocument
set odrw = thisapplication.activedocument

'sect/reject the point to the postponed option updates
if odrw.drawingsettings.deferupdates = true then
odrw.drawingsettings.deferupdates = false
msgbox ("replaced updates disabled")

odrw.drawingsettings.deferupdates = true
msgbox ("replaced updates activated")
end if

end
 
Look, it's even easier than I thought it was, and it's better than that.

great and thank you so much.... finally.... thank you really :)
 
Do you know that sometimes I get nailed?

In the sense, it works, and then it finally goes, but maybe it's thinking about it and it's "calculating" a little... what can it depend on?
 
Unfortunately I can't tell you: I'm a self-taught "smanettone" and I can't predict all the side effects of the macros I prepare. In any case this seems to me entirely innocent: It would be interesting to see if the slowdown is generated by the macro itself or what it does, i.e. if inv goes into "guru meditation" because of the postponement update and if it would also go with a completely manual flag setting. to me such delay sometimes happens when I change (without macros, standard commands) quotas from a newly opened design, for example... I'll sleep on it!
 
I don't know, the slowdown in the upgrade of the property from postponed to un postponed reported to the recharge of the design ok, is not what I mean, but on the contrary from not postponed to postponed should not suffer slowing. even if I follow him to "hand".
the fact is that it is not inv that charge, but the "cler" instead of the arrow... .
I noticed something strange. If I wait for the hourglass to stop loading without doing anything, it takes a life, if instead "shakero" the mouse on the message box, it takes a second. This actually solves the problem, but remains the question of why :)
 

Forum statistics

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

Members online

No members online now.
Back
Top