sometimes it comes convenient in the picture share to report øi or øe.
Since by default the diameter symbol automatically puts it in comme possible to interpose the i or e ?
or should I give a new style of quota without diameter and from time to time add it?
Hi.
I managed (by changing an old ilogic) to add the suffix øi or øe at a normal quota; I could not add only the text "i" or "e" on a "diameter" quota equipped with "ø"
if someone can remedy...
'ilogic:
imports system.io
dim myarraylist as new arraylist
myarraylist.add("øi")
myarraylist.add("øe")
tipo_diametro = inputlistbox("seleziona il prefisso:", myarraylist, "", title := "", listname := "seleziona dalla lista")
' set a reference to the select set of the active document.
dim odoc as drawingdocument
dim odrawingdim as object
odoc = thisapplication.activedocument
while true
' find all selected occurrences and add them to an objectcollection.
dim odrawingdims as drawingdimension
selectdim = thisapplication.commandmanager.pick(selectionfilterenum.kdrawingdimensionfilter, "seleziona la quota in cui centrare il testo (esc per terminare)")
' if nothing gets selected then we're done
if isnothing(selectdim) then exit while
'****************************************
if typeof selectdim is generaldimension then 'reference to the selected dimension
dim odim as generaldimension=selectdim'refrence to the dimensiontext object
dim odimensiontext as dimensiontext=odim.text
'change dimension text
select case tipo_diametro
case "øi"
'odim.modelvalueoverridden = true
'odim.hidevalue = false
'odimensiontext.formattedtext= "øi" & "<dimensionvalue></dimensionvalue>"
Hi.
ilogic rule is a good idea, but it seems a bit too much, I explain to me to click on the rule and activate it are more operation than to make you the two custom styles and select them, considering that you can do it even with more odds at a time if you use the copy setting of quotas. this is just an opinion not a criticism