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

automatic centering quotas after replacement ref. model

  • Thread starter Thread starter stefanobruno
  • Start date Start date

stefanobruno

Guest
I had found a snack that allowed me to have the quotas centered even after the replacement of the model tied to a table, now I would need that option and I don't find it anymore, someone knows where I have to look? (inv. 2014 )

Thank you.
 
I had found a snack that allowed me to have the quotas centered even after the replacement of the model tied to a table, now I would need that option and I don't find it anymore, someone knows where I have to look? (inv. 2014 )

Thank you.
I found only a "center quotas to creation" in the application options > drawing (inv.2014)... would interest me a lot too!
 
until you find the check...
I'm trying/using and it seems to work.
Code:
' centra tutte le quote lineari ed angolari
' in tutti i fogli della tavola
public sub centraquote()
    dim odoc as document
    dim odrw as drawingdocument
    
    set odoc = thisapplication.activeeditdocument
    
    if odoc.documenttype = kdrawingdocumentobject then
        set odrw = odoc
    else
        exit sub
    end if
    
    dim osheet as sheet
    dim odrawdim as drawingdimension
    
    for each osheet in odrw.sheets
        for each odrawdim in osheet.drawingdimensions
            if typeof odrawdim is lineargeneraldimension or _
                typeof odrawdim is angulargeneraldimension then
                    call odrawdim.centertext
            end if
        next
    next
end sub
- edit -
That's right. Now I've planned it, I've made a couple of changes.
 

Forum statistics

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

Members online

No members online now.
Back
Top