Allaroundsymbol?

Allaroundsymbol?

Anonymous
Not applicable
543 Views
2 Replies
Message 1 of 3

Allaroundsymbol?

Anonymous
Not applicable

Dear all

 

I wanted to create a surface texture symbol having a circle to indicate the surface all around (see top right button in the picture below).

 

The parameter is:

AllAroundSymbol? = True

 

Unfortunately it doesn't change the symbol, the all around circle doesn't appear.

 

Thanks in advance for any suggestion.

 

Corina

 

grafik.png

Reply
Reply
0 Likes
Accepted solutions (2)
544 Views
2 Replies
Replies (2)
Message 2 of 3

AlexKorzun
Autodesk
Autodesk
Accepted solution

Hi Corina,

 

Thank you for bringing this issue. We missed the support of AllAroundSymbol? Parameter in IvSurfaceTextureSymbol Design.

We are planning to fix it in future ETO version.

 

The workaround exists, based on Inventor API.

1. Create new Design IvSurfaceTextureSymbolEx and redefine the modelself Rule in it:

 

Design IvSurfaceTextureSymbolEx : IvSurfaceTextureSymbol

  Rule modelSelf As List
	Dim handle As String = %%updateSelf
	iv_updateSurfaceTextureSymbol( self, SurfaceTextureType, ForceTail?, Majority?, AllAroundSymbol?, MaximumRoughness, MinimumRoughness, ProductionMethod, AdditionalProductionMethod, SamplingLength, AdditionalSamplingLength, LayDirection, MachiningAllowance, AdditionalRoughness, SurfaceWaviness, Style, Layer)
	GetHostObject(Me).set_AllAroundSymbol( AllAroundSymbol?)
	modelSelf = { handle }
  End Rule

End Design

 

 

  The line in blue makes the trick.

 

2. Change the Design Name of the child, from :IvSurfaceTextureSymbol to :IvSurfaceTextureSymbolEx

 

 

	Child IvSurfaceTextureSymbol_2 As :IvSurfaceTextureSymbolEx
		part1 = Root.AdoptTest_1
		entity1 = "Edge3"
		intent1 = :midPoint
		closestPoint1 = Point(0,1.5,0)
		placementPoint = Point(-5,4,0)
		
		SamplingLength = "Ra 0.8"
		ProductionMethod = "poliert"
		ForceTail? = True
		SurfaceTextureType = :MaterialRemovalRequired
		AllAroundSymbol? = True

	End Child

 

Below is how the Surface Texture Symbol may look with AllAroundSymbol on and off:

 

AllAround-off.jpgAllAround-on.jpg

 

 

Thank you,




Alex Korzun
Inventor-Revit Interop / Inventor-Fusion Interop / Inventor ETO
Autodesk, Inc.

Reply
Reply
Message 3 of 3

Anonymous
Not applicable
Accepted solution

Thank you Alex, it works fine:

 

grafik.png

 

Best regards

 

Corina

Reply
Reply
0 Likes