iLogic Change section arrow style

iLogic Change section arrow style

FINET_Laurent
Advisor Advisor
328 Views
1 Reply
Message 1 of 2

iLogic Change section arrow style

FINET_Laurent
Advisor
Advisor

Hi I hope everyone is doing great ! 🙂

 

I have a small question :

I whould like to change the representasion of the section arrows in the styles manager using iLogic.

Manualy, this is what the menu looks like :

 

laurentfinetAF8M9_0-1633674427972.png

 

I've had good look in the object tree & Inventor API help , and for the love of me I can't find it.. :C

Has any one managed to do this before ?

 

Kinds regards,


FINET L.

If this post solved your question, please kindly mark it as "Solution"

If this post helped out in any way to solve your question, please drop a "Like"

@LinkedIn     @JohnCockerill

0 Likes
329 Views
1 Reply
Reply (1)
Message 2 of 2

WCrihfield
Mentor
Mentor

After some investigation, I don't think there is a Class or object defined in the API yet for that specific type of Style object.  I can find them, but they are just generic Style objects, so you can't access any of the stuff within them that would be specific to that type of style.

Here's the simple iLogic example to get to those objects:

 

oDDoc = ThisDrawing.Document
oDSMgr = oDDoc.StylesManager
oActiveDSS = oDSMgr.ActiveStandardStyle
For Each oStyle As Style In oDSMgr.Styles
	If Not oStyle.StyleType = StyleTypeEnum.kViewAnnotationStyleType Then Continue For
	MsgBox("TypeName(oStyle) = " & TypeName(oStyle), , "")
	MsgBox("oStyle.Type.ToString = " & oStyle.Type.ToString,,"")
	'If oStyle.Name = "Annotation de la vue (ISO)" Then
		'do something
	'End If
Next

 

If this solved your problem, or answered your question, please click ACCEPT SOLUTION.
Or, if this helped you, please click (LIKE or KUDOS) 👍.

If you want and have time, I would appreciate your Vote(s) for My IDEAS 💡 or you can Explore My CONTRIBUTIONS

Wesley Crihfield

EESignature

(Not an Autodesk Employee)